- 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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user