提交 2d97e6b3 编写于 作者: yma16's avatar yma16

feat: 去掉路由#

上级 5736632f
...@@ -89,7 +89,7 @@ module.exports = { ...@@ -89,7 +89,7 @@ module.exports = {
// Paths // Paths
assetsRoot: path.resolve(__dirname, "../dist"), assetsRoot: path.resolve(__dirname, "../dist"),
assetsSubDirectory: "myblog_static", assetsSubDirectory: "myblog_static",
assetsPublicPath: "./", assetsPublicPath: "/",
/** /**
* Source Maps * Source Maps
*/ */
......
...@@ -79,6 +79,7 @@ const useRouter = (Vue, VueRouter) => { ...@@ -79,6 +79,7 @@ const useRouter = (Vue, VueRouter) => {
} }
// 路由 // 路由
const router = new VueRouter({ const router = new VueRouter({
mode: 'history',
routes routes
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册