From 43ec66c22f3c654f859499008b60e0850fbc421c Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Thu, 16 Nov 2017 07:16:27 +0100 Subject: [PATCH] =?UTF-8?q?Routes:=20replace=20=C2=AB=20require=20=C2=BB?= =?UTF-8?q?=20by=20=C2=AB=20import=20=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/src/popup/router/routes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template/src/popup/router/routes.js b/template/src/popup/router/routes.js index 0e28735e..1a913a42 100644 --- a/template/src/popup/router/routes.js +++ b/template/src/popup/router/routes.js @@ -1,6 +1,8 @@ +import PageIndex from './pages/Index.vue'; + export default [ { path: '/', - component: require('./pages/Index.vue') + component: PageIndex }, ];