mode
This commit is contained in:
parent
670e1acc14
commit
5241aca9a3
|
@ -10,9 +10,9 @@ Vue.use(Router)
|
||||||
const router = new Router({
|
const router = new Router({
|
||||||
routes: [{
|
routes: [{
|
||||||
path: '/',
|
path: '/',
|
||||||
redirect: '/home'
|
redirect: '/webapp/data_manager'
|
||||||
}, {
|
}, {
|
||||||
path: '/home',
|
path: '/webapp/data_manager',
|
||||||
name: '首页',
|
name: '首页',
|
||||||
meta: {
|
meta: {
|
||||||
requireAuth: false
|
requireAuth: false
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
|
publicPath: process.env.NODE_ENV === "production" ? "/webapp/data_manager" : "/",
|
||||||
outputDir: "dist",
|
outputDir: "dist",
|
||||||
productionSourceMap: false,
|
productionSourceMap: false,
|
||||||
lintOnSave: true,
|
lintOnSave: true,
|
||||||
|
|
Loading…
Reference in New Issue