blob: 7f745246316c9d3e4ec83087616ba5e5d6a53421 [file] [log] [blame]
const routes = [
{
path: '/',
// TODO
redirect: '/edit/en/series.bar'
},
{
path: '/edit/:language/',
component: () => import('layouts/EditorLayout.vue'),
props: true,
children: [
// { path: 'index', component: () => import('pages/Index.vue') },
{ path: '/edit/:language/:docPath', component: () => import('pages/DocBlockEditor.vue'), props: true }
]
},
{
path: '/conflicts',
component: () => import('pages/Conflicts.vue')
},
// Always leave this as last one,
// but you can also remove it
{
path: '*',
component: () => import('pages/Error404.vue')
}
];
export default routes;