Commit 51b05dac authored by huangyecong's avatar huangyecong

环境配置

parent d2d516cf
...@@ -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: /pc/,//部署的子路径 base: process.env.BASE_URL,
routes, routes,
}); });
......
...@@ -32,5 +32,4 @@ module.exports = { ...@@ -32,5 +32,4 @@ module.exports = {
}, },
}, },
}, },
publicPath: "/",
}; };
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