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

Eksperymentalne

@pantoken/next — adapter konfiguracji Next.js.

Instructure UI dostarcza pakiety ESM, które Next musi transpileować (transpilePackages), to największy problem przy uruchamianiu InstUI na Next. withPantoken dołącza pakiety InstUI do tej listy. Owiń swój next.config, następnie zaimportuj @pantoken/css w głównym layoucie, aby użyć tokenów.

Interfejsy ​

Zmienne ​

Funkcje ​

Odwołania ​

default ​

Zmienia nazwę i ponownie eksportuje withPantoken