浏览代码

调整框架说明备注

root 1 年之前
父节点
当前提交
9a97c72a23
共有 3 个文件被更改,包括 5 次插入5 次删除
  1. 2 2
      README.md
  2. 1 1
      package.json
  3. 2 2
      vue.config.js

+ 2 - 2
README.md

@@ -1,5 +1,5 @@
 
-# 框架代码使用方法
+# 框架注意事项
 
 # 进入项目目录
 cd aivfo-oa-web
@@ -14,7 +14,7 @@ npm install --registry=https://registry.npm.taobao.org
 npm run dev
 ```
 
-浏览器访问 http://localhost:9528
+浏览器访问 http://localhost:8080
 
 ## 发布
 

+ 1 - 1
package.json

@@ -1,5 +1,5 @@
 {
-  "name": "vue-admin-template",
+  "name": "aivfo-oa-web",
   "version": "4.4.0",
   "description": "A vue admin template with Element UI & axios & iconfont & permission control & lint",
   "author": "Pan <panfree23@gmail.com>",

+ 2 - 2
vue.config.js

@@ -12,8 +12,8 @@ const name = defaultSettings.title || 'vue Admin Template' // page title
 // use administrator privileges to execute the command line.
 // For example, Mac: sudo npm run
 // You can change the port by the following methods:
-// port = 9528 npm run dev OR npm run dev --port = 9528
-const port = process.env.port || process.env.npm_config_port || 9528 // dev port
+// port = 8080 npm run dev OR npm run dev --port = 8080
+const port = process.env.port || process.env.npm_config_port || 8080 // dev port
 
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {