V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
marcosteam
V2EX  ›  微软

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

  •  
  •   marcosteam · Jun 7, 2020 · 3215 views
    This topic created in 2162 days ago, the information mentioned may be changed or developed.

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

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

    https://aka.ms/fluent-ui

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

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

    Supplement 1  ·  Jun 7, 2020
    啊,发错链接了
    应该还有一个是 https://developer.microsoft.com/en-us/fluentui#/
    3 replies    2020-06-07 15:30:08 +08:00
    zhenly
        1
    zhenly  
       Jun 7, 2020
    可以看看这个 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  
       Jun 7, 2020 via Android
    aka.ms 的就是微软的短链接服务,实际跳转同一个
    marcosteam
        3
    marcosteam  
    OP
       Jun 7, 2020
    @codehz 已经把正确的链接已经补上了,不过我也看到了 Github 上面有人已经说了文档混乱的问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   911 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 21:07 · PVG 05:07 · LAX 14:07 · JFK 17:07
    ♥ Do have faith in what you're doing.