1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-05-13 12:12:36 +08:00
Files
AzurLaneAutoScript/webapp/packages/renderer/src/router.ts

16 lines
620 B
TypeScript
Raw Normal View History

2024-06-05 23:20:28 +08:00
import {createRouter, createWebHashHistory} from 'vue-router';
import Alas from '/@/components/Alas.vue';
const routes = [
{path: '/', name: 'Loading', component: () => import('./views/LoadingPage.vue')},
{path: '/Install', name: 'InstallPage', component: () => import('./views/InstallAlas.vue')},
{path: '/Launch', name: 'LaunchPage', component: () => import('./views/Launch.vue')},
{path: '/Import', name: 'ImportConfig', component: () => import('./views/ImportConfig.vue')},
{path: '/Alas', name: 'Alas', component: Alas},
];
export default createRouter({
routes,
history: createWebHashHistory(),
});