refactor(frontend): router refactoring

This commit is contained in:
syuilo
2025-03-19 15:54:30 +09:00
parent 7d4045e8b4
commit 409cd4fbd3
57 changed files with 433 additions and 632 deletions

View File

@@ -19,7 +19,7 @@ import { instanceName } from '@@/js/config.js';
import XCommon from './_common_/common.vue';
import type { PageMetadata } from '@/page.js';
import { provideMetadataReceiver, provideReactiveMetadata } from '@/page.js';
import { mainRouter } from '@/router/main.js';
import { mainRouter } from '@/router.js';
import { DI } from '@/di.js';
const isRoot = computed(() => mainRouter.currentRoute.value.name === 'index');