feat: 新增 Vue 工具箱供对比

This commit is contained in:
nixevol
2026-10-14 17:29:06 +08:00
parent fe24a88bac
commit e51d981695
24 changed files with 3907 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { createApp } from 'vue'
import { createRouter, createWebHistory } from 'vue-router'
import naive from 'naive-ui'
import App from './App.vue'
import './styles.css'
import Home from './views/Home.vue'
import Market from './views/Market.vue'
import Buildings from './views/Buildings.vue'
import Tasks from './views/Tasks.vue'
import Results from './views/Results.vue'
const router = createRouter({
history: createWebHistory(),
routes: [
{ path: '/', name: 'home', component: Home, meta: { title: '工具箱首页' } },
{ path: '/market', name: 'market', component: Market, meta: { title: '市场网格出图' } },
{ path: '/buildings', name: 'buildings', component: Buildings, meta: { title: '楼宇数据查询' } },
{ path: '/tasks', name: 'tasks', component: Tasks, meta: { title: '任务中心' } },
{ path: '/results', name: 'results', component: Results, meta: { title: '成果浏览' } },
{ path: '/:pathMatch(.*)*', redirect: '/' },
],
})
createApp(App).use(router).use(naive).mount('#app')