Commit 8846f663 by 陈超

A

parent 1b19427d
......@@ -7,6 +7,8 @@ import Store from '../store/'
Vue.use(VueRouter)
//创建路由
export const createRouter = () => new VueRouter({
mode: "history",
base: "/shopManager/",
routes: [...PageRouter, ...ViewsRouter]
})
......
......@@ -6,7 +6,8 @@ const url = 'http://linshenxs-gateway:9999'
const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css']
module.exports = {
publicPath: "/shopManager/",
outputDir: "shopManager",
lintOnSave: true,
productionSourceMap: false,
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