添加大屏设计器页面
This commit is contained in:
@@ -93,6 +93,11 @@ const router = createRouter({
|
|||||||
name: 'Tools',
|
name: 'Tools',
|
||||||
component: () => import('./views/Index.vue')
|
component: () => import('./views/Index.vue')
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/build',
|
||||||
|
name: 'Build',
|
||||||
|
component: () => import('./views/Build.vue')
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/:pathMatch(.*)*',
|
path: '/:pathMatch(.*)*',
|
||||||
name: 'NotFound',
|
name: 'NotFound',
|
||||||
|
|||||||
20
src/views/Build.vue
Normal file
20
src/views/Build.vue
Normal 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>
|
||||||
Reference in New Issue
Block a user