Deploy to Netlify with Nuxt #3492
-
Facing an issue when I'm deploying to Netlify. The page seems completely fine when serving locally. Once deployed on Netlify most of the styles are there but some are missing. Not sure what I am getting wrong. Pasting below my tailwind config file.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I think i may know what the issue is. I have my components as a separate package in the node_modules, which reference taiwind styles, could those styles be purged since they are not a part of the purge whitelist in the config file? If yes, how do I make that work? |
Beta Was this translation helpful? Give feedback.
-
Got it - "/node_modules/packagename/dist/*.{js,css}" |
Beta Was this translation helpful? Give feedback.
Got it -
"/node_modules/packagename/dist/*.{js,css}"