fix a typo

This commit is contained in:
Andreas Zweili 2021-06-27 14:22:20 +02:00
parent f1824a50a7
commit 335e43b07a

View File

@ -1,17 +1,19 @@
import { ceateRouter, createWebHistory } from 'vue-router';
import { createRouter, createWebHistory } from 'vue-router';
const router = createRouter({
history: createWebHistory(),
routes: [
{ path: '/', redirect: '/coaches' },
{ path: '/coaches', components: null },
{ path: '/coaches/:id', components: null, children: [
{ path: 'contact', component: null}
]},
{ path: '/register', components: null},
{ path: '/request', components: null},
{ path: '/notFound(.*)', components: null}
]
history: createWebHistory(),
routes: [
{ path: '/', redirect: '/coaches' },
{ path: '/coaches', components: null },
{
path: '/coaches/:id',
components: null,
children: [{ path: 'contact', component: null }]
},
{ path: '/register', components: null },
{ path: '/request', components: null },
{ path: '/notFound(.*)', components: null }
]
});
export default router;
export default router;