diff --git a/src/composables/useMetaLayoutsMenuOptions.tsx b/src/composables/useMetaLayoutsMenuOptions.tsx index 97a1fd5..05952c7 100644 --- a/src/composables/useMetaLayoutsMenuOptions.tsx +++ b/src/composables/useMetaLayoutsMenuOptions.tsx @@ -1,5 +1,6 @@ +import { createGetRoutes } from '@/plugins/00.router-plugin'; import type { MenuInst, MenuOption } from 'naive-ui'; -import { createGetRoutes } from 'virtual:meta-layouts'; + import type { Ref } from 'vue'; import type { RouteRecordRaw } from 'vue-router'; import { RouterLink } from 'vue-router'; diff --git a/src/locales-utils/i18n-auto-imports.ts b/src/locales-utils/i18n-auto-imports.ts index 3d7b256..cb9cfd4 100644 --- a/src/locales-utils/i18n-auto-imports.ts +++ b/src/locales-utils/i18n-auto-imports.ts @@ -4,8 +4,7 @@ */ import messages from '@intlify/unplugin-vue-i18n/messages'; -import { router } from '@/plugins/00.router-plugin'; -import { createGetRoutes } from 'virtual:meta-layouts'; +import { createGetRoutes, router } from '@/plugins/00.router-plugin'; import { createI18n } from 'vue-i18n'; import { START_LOCATION } from 'vue-router'; diff --git a/src/pages-with-layout/(layout-group).page.vue b/src/pages-with-layout/(layout-group).page.vue new file mode 100644 index 0000000..f5d7f39 --- /dev/null +++ b/src/pages-with-layout/(layout-group).page.vue @@ -0,0 +1,15 @@ + + + diff --git a/src/pages-with-layout/(layout-group)/a.page.vue b/src/pages-with-layout/(layout-group)/a.page.vue new file mode 100644 index 0000000..4321c7d --- /dev/null +++ b/src/pages-with-layout/(layout-group)/a.page.vue @@ -0,0 +1,12 @@ + + + diff --git a/src/pages-with-layout/(layout-group)/b.page.vue b/src/pages-with-layout/(layout-group)/b.page.vue new file mode 100644 index 0000000..2df1d6a --- /dev/null +++ b/src/pages-with-layout/(layout-group)/b.page.vue @@ -0,0 +1,11 @@ + + + diff --git a/src/pages/(ccc)/c.page.vue b/src/pages/(ccc)/c.page.vue new file mode 100644 index 0000000..fad9a0f --- /dev/null +++ b/src/pages/(ccc)/c.page.vue @@ -0,0 +1,11 @@ + + + diff --git a/src/pages/index.page.vue b/src/pages/(home).page.vue.off similarity index 56% rename from src/pages/index.page.vue rename to src/pages/(home).page.vue.off index 4ecc2db..0c9340f 100644 --- a/src/pages/index.page.vue +++ b/src/pages/(home).page.vue.off @@ -1,4 +1,10 @@ - +