update
This commit is contained in:
parent
177c55b2f3
commit
d8d0ba0f7f
11
.env.development
Normal file
11
.env.development
Normal file
@ -0,0 +1,11 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 睿展-代码生成系统
|
||||
|
||||
# 开发环境配置
|
||||
ENV = 'development'
|
||||
|
||||
# 睿展-代码生成系统/开发环境
|
||||
VUE_APP_CONTEXT_PATH='/variant-front'
|
||||
|
||||
# 路由懒加载
|
||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
17
.env.production
Normal file
17
.env.production
Normal file
@ -0,0 +1,17 @@
|
||||
###
|
||||
# @version: V1.0.0
|
||||
# @Date: 2023-03-20 14:50:32
|
||||
# @LastEditors: lzq
|
||||
# @LastEditTime: 2023-03-20 14:51:47
|
||||
# @company: 睿展数据
|
||||
# @FilePath: \variant-form\.env.production
|
||||
# @Descripttion:
|
||||
###
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 睿展-代码生成系统
|
||||
|
||||
# 生产环境配置
|
||||
ENV = 'production'
|
||||
|
||||
# 睿展-代码生成系统/生产环境
|
||||
VUE_APP_CONTEXT_PATH='/variant-front'
|
19
.env.staging
Normal file
19
.env.staging
Normal file
@ -0,0 +1,19 @@
|
||||
###
|
||||
# @version: V1.0.0
|
||||
# @Date: 2023-03-20 14:50:34
|
||||
# @LastEditors: lzq
|
||||
# @LastEditTime: 2023-03-20 14:52:42
|
||||
# @company: 睿展数据
|
||||
# @FilePath: \variant-form\.env.staging
|
||||
# @Descripttion:
|
||||
###
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 睿展-代码生成系统
|
||||
|
||||
NODE_ENV = production
|
||||
|
||||
# 测试环境配置
|
||||
ENV = 'staging'
|
||||
|
||||
# 睿展-代码生成系统/测试环境
|
||||
VUE_APP_CONTEXT_PATH='/variant-front'
|
@ -4,7 +4,7 @@
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve --open src/main.js",
|
||||
"build": "vue-cli-service build --report --dest dist/build",
|
||||
"build:prod": "vue-cli-service build",
|
||||
"lib": "vue-cli-service build --report --target lib --dest dist/lib --name VFormDesigner install.js",
|
||||
"lib-render": "vue-cli-service build --report --target lib --dest dist/lib-render --name VFormRender install-render.js",
|
||||
"lint": "vue-cli-service lint"
|
||||
|
@ -40,9 +40,9 @@ if (IS_PROD && buildProdFlag) {
|
||||
|
||||
|
||||
module.exports = {
|
||||
publicPath: '/variant-form',
|
||||
publicPath: process.env.VUE_APP_CONTEXT_PATH,
|
||||
assetsDir: './',
|
||||
|
||||
outputDir: "dist",
|
||||
/* 开启vue运行时模板编译功能!! */
|
||||
runtimeCompiler: true,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user