From 365e58385d2b40c37dbf90e1b0b17040883f64a3 Mon Sep 17 00:00:00 2001 From: pplokijuhyg <1162963624@qq.com> Date: Mon, 25 Nov 2019 08:44:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/router.js b/src/router.js index 5e731dd..9252a2f 100644 --- a/src/router.js +++ b/src/router.js @@ -3,13 +3,13 @@ import Vue from 'vue' import Router from 'vue-router' //2.调用vue-router Vue.use(Router) - +import hello from "./components/HelloWrld" const router=new Router({ routes: [ - // { - // path: '/', - // component: Hello - // } + { + path: '/', + component: hello + } ] }); -export default route; +export default router;