fix: error occurred when using "definePage" (#553)
This commit is contained in:
1 parent
309e68842b
commit
e35b3691ee
1 file changed
+6
-6
+6
-6
@@ -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(),
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user