mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
配置打包
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 万车充运营管理平台
|
||||
|
||||
# pre环境配置
|
||||
# 预生产环境配置
|
||||
ENV = 'development'
|
||||
|
||||
# 万车充运营管理平台/pre环境
|
||||
# 万车充运营管理平台/预生产环境
|
||||
VUE_APP_BASE_API = 'https://apitest.jsowellcloud.com'
|
||||
|
||||
# 路由懒加载
|
||||
|
||||
14
jsowell-ui/.env.exploitation
Normal file
14
jsowell-ui/.env.exploitation
Normal file
@@ -0,0 +1,14 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 万车充运营管理平台
|
||||
|
||||
# 开发环境配置
|
||||
ENV = 'exploitation'
|
||||
|
||||
# 万车充运营管理平台/开发环境
|
||||
VUE_APP_BASE_API = 'http://localhost:8080'
|
||||
|
||||
# 开发环境配置
|
||||
NODE_ENV = production
|
||||
|
||||
# 路由懒加载
|
||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
@@ -1,8 +1,8 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 万车充运营管理平台
|
||||
|
||||
# 正式环境配置
|
||||
# 生产环境配置
|
||||
ENV = 'production'
|
||||
|
||||
# 万车充运营管理平台/正式环境
|
||||
# 万车充运营管理平台/生产环境
|
||||
VUE_APP_BASE_API = 'https://api.jsowellcloud.com'
|
||||
|
||||
@@ -3,11 +3,13 @@
|
||||
"version": "1.0.0",
|
||||
"description": "万车充管理系统",
|
||||
"scripts": {
|
||||
"dev": "vue-cli-service serve --mode production",
|
||||
"dev": "vue-cli-service serve --mode exploitation",
|
||||
"prd": "vue-cli-service serve --mode production",
|
||||
"pre": "vue-cli-service serve --mode development",
|
||||
"test": "vue-cli-service serve --mode staging",
|
||||
"build:prod": "vue-cli-service build",
|
||||
"build:stage": "vue-cli-service build --mode staging",
|
||||
"sit": "vue-cli-service serve --mode staging",
|
||||
"build:prd": "vue-cli-service build --mode production",
|
||||
"build:pre": "vue-cli-service build --mode development",
|
||||
"build:sit": "vue-cli-service build --mode staging",
|
||||
"preview": "node build/index.js --preview",
|
||||
"lint": "eslint --ext .js,.vue src"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user