安装
npm i @sum-ui/layout
# or
yarn add @sum-ui/layout
npm i @sum-ui/table
# or
yarn add @sum-ui/table
1
2
3
4
5
6
7
2
3
4
5
6
7
使用
<template>
<sum-layout>
<sum-table/>
</sum-layout>
</template>
<script lang="ts">
import { defineComponent, toRefs } from 'vue'
import SumLayout from '@sum-ui/layout'
import SumTable from '@sum-ui/table'
export default defineComponent({
name: 'sum-layout',
components: { SumLayout, SumTable },
setup() {}
})
</script>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17