You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
386 B
Vue
25 lines
386 B
Vue
<script setup lang="ts">
|
|
import LayoutFeature from './feature/index.vue'
|
|
|
|
import { createNamespace } from '~/utils'
|
|
|
|
const { bem } = createNamespace('main')
|
|
</script>
|
|
|
|
<template>
|
|
<LayoutFeature />
|
|
<main :class="bem()">
|
|
<slot />
|
|
</main>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.main {
|
|
display: block;
|
|
flex: 1;
|
|
flex-basis: auto;
|
|
overflow: auto;
|
|
box-sizing: border-box;
|
|
}
|
|
</style>
|