Skip to content

Commit 36f3517

Browse files
committed
fix: wrong route for the main vue component
1 parent 4068fb3 commit 36f3517

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web-sample/src/main/core/router/index.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { createRouter, createWebHistory } from 'vue-router'
2-
import HomeView from '../views/HomeView.vue'
2+
// import HomeView from '../views/HomeView.vue'
3+
import HomeView from '@/main/core/home/views/HomeView.vue'
34

45
const router = createRouter({
56
history: createWebHistory(import.meta.env.BASE_URL),
@@ -15,7 +16,7 @@ const router = createRouter({
1516
// route level code-splitting
1617
// this generates a separate chunk (About.[hash].js) for this route
1718
// which is lazy-loaded when the route is visited.
18-
component: () => import('../views/AboutView.vue')
19+
component: () => import('@/main/core/home/views/AboutView.vue')
1920
}
2021
]
2122
})

0 commit comments

Comments
 (0)