LeftSideBar

This commit is contained in:
2020-09-01 12:55:00 +03:00
parent 2357418ee9
commit 0ef02edde9
28 changed files with 644 additions and 32 deletions

View File

@@ -1,6 +1,8 @@
import Vue from 'vue'
import VueRouter, { RouteConfig } from 'vue-router'
import Home from '../views/Home.vue'
import Home from '@/views/Home.vue'
import About from '@/views/About.vue'
Vue.use(VueRouter)
@@ -12,11 +14,8 @@ Vue.use(VueRouter)
},
{
path: '/about',
name: 'About',
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
name: 'About Me',
component: About
}
]