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 をインポートしてください。

インターフェース ​

変数 ​

関数 ​

参照 ​

default ​

withPantoken の名前を変更して再エクスポートします。