Commit d2d516cf authored by huangyecong's avatar huangyecong

环境配置

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