feat(frontend): restore betting and NPC list pages

This commit is contained in:
2026-07-26 02:04:03 +00:00
parent 8f9ab4f1e2
commit ba27b71e2f
7 changed files with 1279 additions and 0 deletions
+16
View File
@@ -28,6 +28,8 @@ import DynastyDetailView from '../views/DynastyDetailView.vue';
import SurveyView from '../views/SurveyView.vue';
import TroopView from '../views/TroopView.vue';
import YearbookView from '../views/YearbookView.vue';
import NationBettingView from '../views/NationBettingView.vue';
import NpcListView from '../views/NpcListView.vue';
import { useSessionStore } from '../stores/session';
const routes = [
@@ -220,6 +222,20 @@ const routes = [
requiresAuth: true,
},
},
{
path: '/nation-betting',
name: 'nation-betting',
component: NationBettingView,
meta: {
requiresAuth: true,
requiresGeneral: true,
},
},
{
path: '/npc-list',
name: 'npc-list',
component: NpcListView,
},
{
path: '/my-page',
name: 'my-page',