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 ESM पैकेज भेजता है जिन्हें Next को ट्रांसपाइल करना पड़ता है (transpilePackages) — Next पर InstUI चलाते समय सबसे बड़ी छोटी समस्या। withPantoken उन InstUI पैकेजों को उस सूची में जोड़ता है। अपने next.config को रैप करें, फिर टोकन्स के लिए अपने रूट लेआउट में @pantoken/css को इम्पोर्ट करें।

इंटरफेस ​

वैरिएबल्स ​

फंक्शन्स ​

संदर्भ ​

default ​

नाम बदलता है और withPantoken को फिर से निर्यात करता है