Fluent UI 的文档和库应该如何选择?

2020-06-07 08:46:53 +08:00
 marcosteam

想用 Fluent UI React 库写个站,Github 上面给了两个文档链接:

https://fluentsite.z22.web.core.windows.net/

https://aka.ms/fluent-ui

就连组件库也有两个版本:@fluentui/react @fluentui/react-northstar

这两个之间有什么差别?我应该用哪个?

2400 次点击
所在节点    微软
3 条回复
zhenly
2020-06-07 11:25:55 +08:00
可以看看这个 https://github.com/microsoft/fluentui/issues/13381

> @fluentui/react version 7 is what used to be known as Office UI Fabric React. It's widely used in Microsoft products and some outside. @fluentui/react-northstar (sometimes also called Fluent UI React v0) is what used to be known as Stardust and is mostly used by Microsoft Teams and Teams add-ins. They're in the same repo because we're working on converging them.

简单来说就是之前微软不同产品的两套不同的版本的 UI,目前正在合并,官方是建议使用 @fluentui/react
codehz
2020-06-07 11:38:44 +08:00
aka.ms 的就是微软的短链接服务,实际跳转同一个
marcosteam
2020-06-07 15:30:08 +08:00
@codehz 已经把正确的链接已经补上了,不过我也看到了 Github 上面有人已经说了文档混乱的问题

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/679331

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX