V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
marcosteam
V2EX  ›  微软

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

  •  
  •   marcosteam · 2020-06-07 08:46:53 +08:00 · 2365 次点击
    这是一个创建于 1391 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

    https://aka.ms/fluent-ui

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

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

    第 1 条附言  ·  2020-06-07 15:24:47 +08:00
    啊,发错链接了
    应该还有一个是 https://developer.microsoft.com/en-us/fluentui#/
    3 条回复    2020-06-07 15:30:08 +08:00
    zhenly
        1
    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
        2
    codehz  
       2020-06-07 11:38:44 +08:00 via Android
    aka.ms 的就是微软的短链接服务,实际跳转同一个
    marcosteam
        3
    marcosteam  
    OP
       2020-06-07 15:30:08 +08:00
    @codehz 已经把正确的链接已经补上了,不过我也看到了 Github 上面有人已经说了文档混乱的问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3925 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 05:11 · PVG 13:11 · LAX 22:11 · JFK 01:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.