dramaling-app/apps/web/src/router/index-minimal.ts

20 lines
438 B
TypeScript

import { createRouter, createWebHistory, type RouteRecordRaw } from 'vue-router'
const routes: RouteRecordRaw[] = [
{
path: '/',
name: 'home',
component: () => import('@/views/HomeView.vue'),
meta: {
title: 'Drama Ling - 戲劇式語言學習',
description: 'AI驅動的情境式語言學習應用'
}
}
]
const router = createRouter({
history: createWebHistory(),
routes
})
export default router