From 2de3df56bd5d11084d4d3439fda14c9766e4824f Mon Sep 17 00:00:00 2001 From: Yuleiqi <1181277366@qq.com> Date: Thu, 19 Jun 2025 18:04:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 50 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 47 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1511959..f4f3253 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,49 @@ -# Vue 3 + Vite +DEMO +=========================== + +###########环境依赖 +node.js + +###########部署步骤 +1. 添加系统环境变量 + export $PORTAL_VERSION="production" // production, test, dev + + +2. npm install //安装node运行环境 + +3. npm run dev //前端编译 + +4. 启动两个配置(已forever为例) + eg: forever start app-service.js + forever start logger-service.js + + +###########目录结构描述 +├── Readme.md // help +├── app // 应用 +├── config // 配置 +│ ├── default.json +│ ├── dev.json // 开发环境 +│ ├── experiment.json // 实验 +│ ├── index.js // 配置控制 +│ ├── local.json // 本地 +│ ├── production.json // 生产环境 +│ └── test.json // 测试环境 +├── data +├── doc // 文档 +├── environment +├── gulpfile.js +├── locales +├── logger-service.js // 启动日志配置 +├── node_modules +├── package.json +├── app-service.js // 启动应用配置 +├── static // web静态资源加载 +│ └── initjson +│ └── config.js // 提供给前端的配置 +├── test +├── test-service.js +└── tools + -This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `