From 36a0aa6daa11641252a9debd72fbe4f2bfcf0e48 Mon Sep 17 00:00:00 2001 From: duxizhi Date: Sat, 29 Jul 2023 23:21:17 +0800 Subject: [PATCH 1/3] chore: add gitignore --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 723ef36..1f77ac6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -.idea \ No newline at end of file +.idea +week* +.DS_Store \ No newline at end of file -- Gitee From 630e854609801f48154d5a04594027cab18023df Mon Sep 17 00:00:00 2001 From: duxizhi Date: Sat, 29 Jul 2023 23:23:27 +0800 Subject: [PATCH 2/3] chore: update gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1f77ac6..4265538 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea week* -.DS_Store \ No newline at end of file +.DS_Store +node_modules \ No newline at end of file -- Gitee From 83c02091a6654c09786afd15082f384a6a891643 Mon Sep 17 00:00:00 2001 From: duxizhi Date: Sat, 29 Jul 2023 23:30:18 +0800 Subject: [PATCH 3/3] docs: update Readme --- webook-fe/README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/webook-fe/README.md b/webook-fe/README.md index f04da34..5e05735 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 -- Gitee