- fix: starting the app it doesn't loaded the SingleTodo correctly...

the problem was:
  import { SingleTodo } from '@components'  // doesn't work:
  Resolve  :
  import { SingleTodo } from '../../SingleTodo'  // correct!
This commit is contained in:
Paolo Arena
2019-01-30 01:05:31 +01:00
parent 818a7a4289
commit 2515bb598e
14 changed files with 45 additions and 17 deletions

View File

@@ -27,13 +27,8 @@ export const RouteConfig: VueRouteConfig[] = [
{
path: '/todo/:category',
component: () => import('@/components/todos/todo/todo.vue'),
meta: { name: 'Todos' },
children: [
{
path: '',
component: () => import('@/components/todos/SingleTodo/SingleTodo.vue')
}
]
// props: { category: 'personal' },
meta: { name: 'Todos' }
},
{
path: '/category',