platform-library 元素

要用作資源的平台程式庫。
此元素用於 React 控制項和平台程式庫 (預覽版)。

適用於

模型導向和畫布應用程式

Attributes

名稱 Description 類型 為必填項目 適用於
name React 或 Fluent。 string Yes 模型導向和畫布應用程式
version 目前版本的平台程式庫 string Yes 模型導向和畫布應用程式

父元素

元素 Description
資源 元件資訊清單中的資源節點是指元件實作其視覺效果所需的資源檔案。

Example

<resources>
   <code path="index.ts" order="1" />
   <platform-library name="React" version="16.14.0" />
   <platform-library name="Fluent" version="9.46.2" />
</resources>

React 控制項和平台庫
Power Apps 元件架構資訊清單結構描述參考
Power Apps 元件架構 API 參考
Power Apps 元件架構概觀