Commit 8846f663 by 陈超

A

parent 1b19427d
...@@ -7,6 +7,8 @@ import Store from '../store/' ...@@ -7,6 +7,8 @@ import Store from '../store/'
Vue.use(VueRouter) Vue.use(VueRouter)
//创建路由 //创建路由
export const createRouter = () => new VueRouter({ export const createRouter = () => new VueRouter({
mode: "history",
base: "/shopManager/",
routes: [...PageRouter, ...ViewsRouter] routes: [...PageRouter, ...ViewsRouter]
}) })
......
...@@ -6,7 +6,8 @@ const url = 'http://linshenxs-gateway:9999' ...@@ -6,7 +6,8 @@ const url = 'http://linshenxs-gateway:9999'
const CompressionWebpackPlugin = require('compression-webpack-plugin') const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css'] const productionGzipExtensions = ['js', 'css']
module.exports = { module.exports = {
publicPath: "/shopManager/",
outputDir: "shopManager",
lintOnSave: true, lintOnSave: true,
productionSourceMap: false, productionSourceMap: false,
chainWebpack: config => { chainWebpack: config => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment