Inicjalizacja projektu

This commit is contained in:
2020-07-04 12:41:36 +02:00
parent e0d1da0042
commit 6bbe0b9747
7 changed files with 24 additions and 124 deletions
+1 -9
View File
@@ -4,19 +4,11 @@ import Home from '../views/Home.vue'
Vue.use(VueRouter)
const routes: Array<RouteConfig> = [
const routes: Array<RouteConfig> = [
{
path: '/',
name: 'Home',
component: Home
},
{
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')
}
]