HumanBreak/src/App.vue
2022-11-30 16:42:44 +08:00

30 lines
521 B
Vue

<template>
<div id="ui">
<template v-for="com of uiStack">
<component :is="com"></component>
</template>
</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
import { uiStack } from './plugin/uiController';
</script>
<style lang="less" scoped>
#ui {
width: 90%;
height: 90%;
display: flex;
justify-content: center;
overflow: hidden;
}
@media screen and (max-width: 600px) {
#ui {
width: 100%;
height: 100%;
}
}
</style>