Compare commits

..

No commits in common. "9506b238f2a637394e8bcd50dbeed50c1644be49" and "309d97d9c8a5508c59ccee6186f261ca21b21ecb" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -54,7 +54,7 @@ module.exports = configure(function (/* ctx */) {
build: {
env: {
// test:测试服务器publish正式服务器其他本地
ENV_MODE: process.env.URL_ENV,
ENV_MODE: process.env.NODE_ENV,
},
target: {
browser: ['es2020'],

1
src/env.d.ts vendored
View File

@ -5,6 +5,5 @@ declare namespace NodeJS {
NODE_ENV: string;
VUE_ROUTER_MODE: 'hash' | 'history' | 'abstract' | undefined;
VUE_ROUTER_BASE: string | undefined;
URL_ENV: string;
}
}