Added settings window

This commit is contained in:
2025-05-18 16:16:27 +08:00
parent 4e291b889b
commit 7f25dc942e
13 changed files with 180 additions and 36 deletions

View File

@@ -0,0 +1,23 @@
import {createRouter, createWebHistory, RouteRecordRaw} from 'vue-router';
import Editor from '@/editor/Editor.vue';
import SettingsPage from '@/settings/SettingsPage.vue';
const routes: RouteRecordRaw[] = [
{
path: '/',
name: 'Editor',
component: Editor
},
{
path: '/settings',
name: 'Settings',
component: SettingsPage
}
];
const router = createRouter({
history: createWebHistory(),
routes: routes
});
export default router;