我可以在非 Microsoft 内部应用程序中使用 Office UI Fabric React 吗?
Can I use Office UI Fabric React in a non-Microsoft internal application?
我想知道是否可以在与 Microsoft 服务(例如 SharePoint 或 Office)无关的公司内部应用程序中使用 Office React Fabric UI 框架。
我阅读了许可证,但不太清楚我的问题。
https://github.com/OfficeDev/office-ui-fabric-react/blob/master/LICENSE
是的!您绝对可以将 Fabric 用于这些类型的应用程序。但是,根据从该许可文档链接到的 assets license,只有当应用程序以某种方式连接到 Microsoft 服务时才能使用资产(字体和图标)。这可以像将应用托管为 Azure Web 应用一样简单。
这是来自此 GitHub comment 的相关引述,对此稍作扩展:
Fabric's assets (fonts, icons, and product logos) are part of Microsoft's brand, and can only be used in apps & services--including commercial ones--that connect with Microsoft products. These include Add-ins for Office, web parts for SharePoint, and other extensions for Microsoft products. This applies to usage of the assets in application code itself as well as any designs produced by the toolkit.
However, all of Fabric's code (JS, CSS, etc.) is MIT-licensed and can be used in non-Microsoft commercial products. There's even first-class support for Selawik, an open source drop-in substitute for Segoe UI. There is not a substitute for the icon font today, however.
要退出这些资产,您可以将 Fabric 的默认图标替换为 Font Awesome 之类的图标,如下所示:
import { registerIcons } from '@uifabric/styling';
import FontAwesomeIcon from '@fortawesome/react-fontawesome';
registerIcons({
icons: {
'check-square': <FontAwesomeIcon icon='check-square' />,
...etc
}
});
要退出 Segoe UI,您可以创建一个自定义主题,用不同的字体替换 defaultFontStyle
。这是一个 CodePen 说明:https://codepen.io/jahnp/pen/pYMyZM
我想知道是否可以在与 Microsoft 服务(例如 SharePoint 或 Office)无关的公司内部应用程序中使用 Office React Fabric UI 框架。
我阅读了许可证,但不太清楚我的问题。
https://github.com/OfficeDev/office-ui-fabric-react/blob/master/LICENSE
是的!您绝对可以将 Fabric 用于这些类型的应用程序。但是,根据从该许可文档链接到的 assets license,只有当应用程序以某种方式连接到 Microsoft 服务时才能使用资产(字体和图标)。这可以像将应用托管为 Azure Web 应用一样简单。
这是来自此 GitHub comment 的相关引述,对此稍作扩展:
Fabric's assets (fonts, icons, and product logos) are part of Microsoft's brand, and can only be used in apps & services--including commercial ones--that connect with Microsoft products. These include Add-ins for Office, web parts for SharePoint, and other extensions for Microsoft products. This applies to usage of the assets in application code itself as well as any designs produced by the toolkit.
However, all of Fabric's code (JS, CSS, etc.) is MIT-licensed and can be used in non-Microsoft commercial products. There's even first-class support for Selawik, an open source drop-in substitute for Segoe UI. There is not a substitute for the icon font today, however.
要退出这些资产,您可以将 Fabric 的默认图标替换为 Font Awesome 之类的图标,如下所示:
import { registerIcons } from '@uifabric/styling';
import FontAwesomeIcon from '@fortawesome/react-fontawesome';
registerIcons({
icons: {
'check-square': <FontAwesomeIcon icon='check-square' />,
...etc
}
});
要退出 Segoe UI,您可以创建一个自定义主题,用不同的字体替换 defaultFontStyle
。这是一个 CodePen 说明:https://codepen.io/jahnp/pen/pYMyZM