liuyanpeng пре 2 година
родитељ
комит
651d285d8a
2 измењених фајлова са 30 додато и 14 уклоњено
  1. 29 13
      README.md
  2. 1 1
      package.json

+ 29 - 13
README.md

@@ -1,21 +1,37 @@
-# client-trace
+# client-trace-v3
 
-> wms module
-
-## Build Setup
-
-``` bash
-# install dependencies
+### 项目安装
+```
 npm install
+```
 
-# serve with hot reload at localhost:8080
-npm run dev
+### 项目启动
+```
+npm run serve
+```
 
-# build for production with minification
+### 项目打包
+```
 npm run build
+```
 
-# build for production and view the bundle analyzer report
-npm run build --report
+### 项目发布
+```
+npm publish
 ```
 
-For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
+#### 项目更新后的部署流程
+* 1、进入 package.json 文件中将项目版本 "version" 提升1;
+* 2、进入 bat 目录,在其目录下打开 cmd;
+* 3、首先在 cmd 内执行 build.bat 命令进行打包,即 npm run build;
+* 4、其次在 cmd 内执行 publish.bat 命令进行发布,即 npm publish;
+* 5、最后在 cmd 内执行 debug.bat 命令进行测试(是否成功),即 npm run dev;
+
+#### 注意事项
+* 1、一定要在 bat 目录下执行安装、打包、发布命令;
+* 2、一定不要忘记在项目部署时更改 package.json 里的版本;
+
+### 项目版本详情
+见 [Configuration Reference](http://wuzhixin.vip:4873).
+
+For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "client-trace-v3",
   "description": "client-trace-v3",
-  "version": "1.0.3",
+  "version": "1.0.4",
   "author": "yangzhijie <yangzhijie1488@163.com>",
   "scripts": {
     "dev": "webpack serve --config ./webpack.dev.js",