使用 Fluentui 9.19.1 在 Microsoft Teams 选项卡应用程序上加载样式

问题描述 投票:0回答:0

新安装的“@fluentui/react-components”:“9.19.1”,现在我正在尝试将其添加到我的 Microsoft Teams Tab 应用中。

但是,当我部署应用程序时,组件出现时没有任何样式...

import { LargeTitle, Divider, Button } from '@fluentui/react-components';
import { DocumentRegular } from '@fluentui/react-icons'

<LargeTitle>Title:</LargeTitle>
<Button appearance="primary" icon={<DocumentRegular />}>
            Primary
</Button>
<Divider />

On App view

Expected Button

任何帮助表示赞赏!谢谢

我已经试过了: - 改变浏览器 - 清除缓存 - 卸载软件包然后重新安装 - 使用 npm install 或 yarn add 来安装包

typescript microsoft-teams spfx fluent-ui fluentui-react
© www.soinside.com 2019 - 2024. All rights reserved.