Skip to content

pantoken-root / next

next ​

Compatibility ​

Target: Next.js. Current format: Production build transpiling and rendering Instructure UI 11.7.10 with React 19.3.0. Minimum host version: 16.0.0. Tested through 16.4.0. Newer releases require review.

Full compatibility matrix

實驗性

@pantoken/next — 一個 Next.js 設定轉接器。

Instructure UI 發行的是需要 Next 轉譯的 ESM 套件(transpilePackages),這是在 Next 上執行 InstUI 時最常遇到的麻煩。 withPantoken 將 InstUI 套件合併到該清單中。包裹你的 next.config,然後在根布局中匯入 @pantoken/css 以取得 tokens。

介面 ​

變數 ​

函式 ​

參考 ​

default ​

重新命名並重新匯出 withPantoken