소스 검색

环境配置,vscode代码格式化

wyling 4 년 전
부모
커밋
19fc41ad53
3개의 변경된 파일14개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      .env.lin
  2. 5 0
      .prettierrc
  3. 1 0
      package.json

+ 8 - 0
.env.lin

@@ -0,0 +1,8 @@
+NODE_ENV = production
+
+# 测试环境配置
+ENV = 'lin'
+
+# 若依管理系统/测试环境
+VUE_APP_BASE_API = 'http://192.168.8.50:8080/hzgzpt-admin'
+port = 81

+ 5 - 0
.prettierrc

@@ -0,0 +1,5 @@
+{
+  "semi": false,
+  "singleQuote": true,
+  "printWidth": 150
+}

+ 1 - 0
package.json

@@ -7,6 +7,7 @@
   "scripts": {
     "dev": "vue-cli-service serve",
     "dev:stage": "vue-cli-service serve --mode staging",
+    "dev:lin": "vue-cli-service serve --mode lin",
     "build:prod": "vue-cli-service build",
     "build:stage": "vue-cli-service build --mode staging",
     "preview": "node build/index.js --preview",