添加大屏设计器页面

This commit is contained in:
2025-12-17 11:22:27 +08:00
parent 6512e9da8b
commit bbd2885b49
2 changed files with 25 additions and 0 deletions

View File

@@ -93,6 +93,11 @@ const router = createRouter({
name: 'Tools',
component: () => import('./views/Index.vue')
},
{
path: '/build',
name: 'Build',
component: () => import('./views/Build.vue')
},
{
path: '/:pathMatch(.*)*',
name: 'NotFound',

20
src/views/Build.vue Normal file
View File

@@ -0,0 +1,20 @@
<script setup>
import { onMounted, defineAsyncComponent, shallowRef } from 'vue'
import getConfig from '@/utils/config'
const config = getConfig()
onMounted(() => {
document.title = "大屏设计器 - " + config.title
})
</script>
<template>
<div class="build"></div>
</template>
<style scoped>
.build {
position: relative;
width: 100%;
height: 100%;
}
</style>