From 5b6c3bb0f454d17c236ad703a8bae35cdba5276e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E9=A1=BA=E5=8F=91?= <416175716@qq.com> Date: Tue, 25 Apr 2017 10:22:14 +0800 Subject: [PATCH] history to hash --- src/router/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index 6c1634e..c64dfef 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -12,7 +12,7 @@ import secondcomponent from '../pages/otherPages.vue' import thirdcomponent from '../pages/otherPages2.vue' export default new VueRouter({ - mode: 'history', + // mode: 'history', base: __dirname, routes: [ {