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 `