✨ Added settings window

This commit is contained in:
landaiqing committed 2025-05-18 16:16:27 +08:00
1 parent 4e291b889b
commit 7f25dc942e
13 files changed
+180 -36

No files matched your search

+23
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;