diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/routes/index.ts (renamed from src/routes/index.js) | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/routes/index.js b/src/routes/index.ts index 6ced33c49..f54823d60 100644 --- a/src/routes/index.js +++ b/src/routes/index.ts @@ -1,8 +1,7 @@ -import Vue from 'vue' import VueRouter from 'vue-router' -import ExplorePanel from '../components/Explore' -import StarredPanel from '../components/Starred' +import ExplorePanel from '../components/Explore.vue' +import StarredPanel from '../components/Starred.vue' export const ROUTES = { EXPLORE: 'explore', @@ -36,8 +35,6 @@ const routes = [ }, ] -Vue.use(VueRouter) - export default new VueRouter({ linkActiveClass: 'active', routes, // short for `routes: routes` |