Commit d2d516cf authored by huangyecong's avatar huangyecong

环境配置

parent d522179c
...@@ -47,7 +47,7 @@ const routes = [ ...@@ -47,7 +47,7 @@ const routes = [
const router = new VueRouter({ const router = new VueRouter({
mode: "history", mode: "history",
base: process.env.BASE_URL, base: /pc/,//部署的子路径
routes, routes,
}); });
......
const path = require("path"); const path = require("path");
module.exports = { module.exports = {
publicPath: "/pc/", //打包后部署在一个子路径上http:xxx/m/
productionSourceMap: false,
lintOnSave: false, lintOnSave: false,
css: { css: {
loaderOptions: { loaderOptions: {
......
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