diff --git a/.gitignore b/.gitignore index d55f080c..118689f5 100644 --- a/.gitignore +++ b/.gitignore @@ -35,4 +35,5 @@ build/ .vscode/ ### Mac OS ### -.DS_Store \ No newline at end of file +.DS_Store +.qoder \ No newline at end of file diff --git a/README.md b/README.md index a0951f76..3cfc9466 100644 --- a/README.md +++ b/README.md @@ -185,14 +185,15 @@ graph TD ## 四、项目架构 ### 1、开发环境级组件 #### 1.1 开发环境 -+ Jdk:17 -+ Nodejs:v16.20.0 ++ Java:17 ++ Nodejs:v20.20.0 ++ Maven:3.9 #### 1.2、存储及中间件 + MySQL8 + Redis:7.x -+ Nacos:2.3.1(注册中心) ++ Nacos:2.3.2(注册中心) + Sentinel(分布式流量治理组件) @@ -280,7 +281,7 @@ graph TD 3. 启动微服务网关(`gateway`) #### 3.4、运行前端 -+ Nodejs版本:v16.20.0 ++ Nodejs版本:v20.20.0 + 进入`vue`文件夹 + 运行`npm install` + 运行`npm run dev` @@ -327,8 +328,7 @@ location /prod-api/ { proxy_connect_timeout 60s; # 连接超时时间 # --- 结束新增 --- - #proxy_pass http://10.0.2.22:8088/; - proxy_pass http://172.17.62.227:8088/; + proxy_pass http://127.0.0.1:8088/; } ``` + docker运行 @@ -340,7 +340,7 @@ location /prod-api/ { ### 5.1 赠人玫瑰手留余香 💖 如果觉得有用记得点个 Star⭐ - + ### 5.2 一起交流 diff --git a/docs/star.jpg b/docs/star.jpg deleted file mode 100644 index c9e83fcc..00000000 Binary files a/docs/star.jpg and /dev/null differ diff --git a/pom.xml b/pom.xml index 49ae56f6..ef5811f2 100644 --- a/pom.xml +++ b/pom.xml @@ -18,6 +18,7 @@ service + UTF-8 3.0.2 diff --git a/vue/README.md b/vue/README.md index 1e59ddb9..e5a4e7a7 100644 --- a/vue/README.md +++ b/vue/README.md @@ -5,7 +5,7 @@ # 进入项目目录 -cd zhijian-vue +cd vue # 安装依赖 npm install diff --git a/vue/package.json b/vue/package.json index 0fc97aec..6eff8e27 100644 --- a/vue/package.json +++ b/vue/package.json @@ -5,10 +5,10 @@ "author": "qihang", "license": "MIT", "scripts": { - "dev": "vue-cli-service serve", - "build:prod": "vue-cli-service build", - "build:stage": "vue-cli-service build --mode staging", - "preview": "node build/index.js --preview", + "dev": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", + "build:prod": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", + "build:stage": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --mode staging", + "preview": "set NODE_OPTIONS=--openssl-legacy-provider && node build/index.js --preview", "lint": "eslint --ext .js,.vue src" }, "husky": { @@ -83,7 +83,7 @@ "vue-template-compiler": "2.6.12" }, "engines": { - "node": ">=8.9", + "node": ">=20.0.0", "npm": ">= 3.0.0" }, "browserslist": [