feat: 开始迁移webui

This commit is contained in:
手瓜一十雪
2024-11-15 16:10:19 +08:00
parent 22568bd3ef
commit ebbbb30811
20 changed files with 993 additions and 2454 deletions

View File

@@ -23,6 +23,7 @@ import {
} from 'tdesign-vue-next';
import { router } from './router';
import 'tdesign-vue-next/es/style/index.css';
const app = createApp(App);
app.use(router);

View File

@@ -1,4 +1,4 @@
import { createWebHistory, createRouter } from 'vue-router'
import { createRouter, createWebHashHistory } from 'vue-router'
import Dashboard from '../components/Dashboard.vue';
import BasicInfo from '../pages/BasicInfo.vue';
import AboutUs from '../pages/AboutUs.vue';
@@ -27,6 +27,6 @@ const routes = [
]
export const router = createRouter({
history: createWebHistory(),
history: createWebHashHistory(),
routes,
})