fix: error occurred when using "definePage" (#553)

This commit is contained in:
bee1an authored and GitHub committed 2025-07-02 08:25:34 +09:00
1 parent 309e68842b
commit e35b3691ee
1 file changed
+6 -6
+6 -6
View File
@@ -26,6 +26,12 @@ export default defineConfig({
}, },
plugins: [ plugins: [
// https://github.com/posva/unplugin-vue-router
VueRouter({
extensions: ['.vue', '.md'],
dts: 'src/typed-router.d.ts',
}),
VueMacros({ VueMacros({
plugins: { plugins: {
vue: Vue({ vue: Vue({
@@ -34,12 +40,6 @@ export default defineConfig({
}, },
}), }),
// https://github.com/posva/unplugin-vue-router
VueRouter({
extensions: ['.vue', '.md'],
dts: 'src/typed-router.d.ts',
}),
// https://github.com/JohnCampionJr/vite-plugin-vue-layouts // https://github.com/JohnCampionJr/vite-plugin-vue-layouts
Layouts(), Layouts(),