Skip to content

Commit f495607

Browse files
committed
fix(vuetify, vuetify0): fix uvr integration
1 parent cc41500 commit f495607

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/shared/src/features/router.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,12 @@ function getFileRouterContent (ts: boolean) {
137137
*/
138138
139139
// Composables
140-
import { createRouter, createWebHistory } from 'vue-router/auto'
140+
import { createRouter, createWebHistory } from 'vue-router'
141+
import { routes } from 'vue-router/auto-routes'
141142
142143
const router = createRouter({
143144
history: createWebHistory(import.meta.env.BASE_URL),
145+
routes,
144146
})
145147
146148
export default router

0 commit comments

Comments
 (0)