Next js 13 Integration Modals ReferenceError #1882
-
I went through the nextjs integration as instructed: My tailwind.config.js file is:
Global.css in the app directory is
In layout.jsx, I imported
I then dynamically imported it into app/test/page.jsx:
I got the following error:
Would greatly appreciate help with this! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! Seems like you are trying to import If you want to use the Modal from And for the standard version, |
Beta Was this translation helpful? Give feedback.
Hi! Seems like you are trying to import
tw-elements-react
components from thetw-elements
package.If you want to use the Modal from
tw-elements-react
you can find the docs here:https://tailwind-elements.com/docs/react/components/modal/
And for the standard version,
tw-elements
you can go here:https://tailwind-elements.com/docs/standard/components/modal/