NextUI component props are not working when deploying to Vercel #2194
-
Hi, I'm using Vite, and for some reason the only styling that is not working when deploying my app to Vercel are the onces I declare with the NextUI props like `import { defineConfig } from 'vite' Vite config
Tailwind config
Post css config
Locally everything works fine |
Beta Was this translation helpful? Give feedback.
Answered by
DriesVanHool
Jan 3, 2024
Replies: 1 comment 2 replies
-
I needed to add the content of my npmrc file in my vercel env variables with key NPM_RC to add public-hoist-pattern[]=@nextui-org/ |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
DriesVanHool
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I needed to add the content of my npmrc file in my vercel env variables with key NPM_RC to add public-hoist-pattern[]=@nextui-org/