diff --git a/.gitignore b/.gitignore index 723ef36f4e4f32c4560383aa5987c575a30c6535..4265538d88ef72d978175a49ecbfcd3c20e34672 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ -.idea \ No newline at end of file +.idea +week* +.DS_Store +node_modules \ No newline at end of file diff --git a/webook-fe/README.md b/webook-fe/README.md index f04da34f7d168923ea97e92c9e8bd6691e3a38cf..5e0573589bb0a434be5814df3bc503f3a4369753 100644 --- a/webook-fe/README.md +++ b/webook-fe/README.md @@ -1,6 +1,19 @@ # 快速启动 首先,你需要安装 NodeJS。 -而后在 webook-fe 目录底下,执行 `npm run dev` +推荐安装 [node.js v16](https://nodejs.org/en/download),有同学反馈 node.js v20+ 可能会有兼容性问题。 -就可以在浏览器里面打开 localhost:3000 来查看 \ No newline at end of file +```shell +# 首先进入到 webook-fe 目录 +cd webook-fe + +# 首次启动前端项目需要安装依赖 +npm i + +# 启动前端项目 +npm run dev +``` + +然后在浏览器里面打开 localhost:3000 来查看前端项目 + +* Day4 演示地址:http://localhost:3000/users/signup \ No newline at end of file