Closed twitf closed 5 months ago
<script setup> import {ref} from 'vue' import { Layout, Nav, Button, Breadcrumb, Skeleton, Avatar } from '@kousum/semi-ui-vue'; import { IconSemiLogo, IconBell, IconHelpCircle, IconBytedanceLogo, IconHome, IconHistogram, IconLive, IconSetting } from '@kousum/semi-icons-vue'; console.log(Object.keys(Layout)); </script>
const {Header, Footer, Sider, Content} = Layout; 这个里面好像并没有 Header, Footer, Sider, Content 这些子组件,是否是我使用的有问题呢
export { LayoutContent, LayoutFooter, LayoutHeader, LayoutSider } from './layout';
为了有类型提示,所以有些组件名称改了比如Layout.Content 改成 LayoutContent
十分感谢你的付出。 还有我想问下,这个库是不是暂时没时间做文档了
可能是没时间了,如果其他开发者有兴趣可以提pr
const {Header, Footer, Sider, Content} = Layout; 这个里面好像并没有 Header, Footer, Sider, Content 这些子组件,是否是我使用的有问题呢