Stefano Bartoletti
Advice for following a better architecture?
Why fight against the conventions of a framework by using those of another?
Just use the
components
folder and place your components there, using subfolders when needed.
You will take advantage of all Nuxt features (losing auto-imports and other specific features is a huge loss IMHO) and you don't have to rebuild an architecture from scratch2 replies
Problem with Nuxt UI, it looks like some CSS classes don't correctly apply styles
I have tried to collect some more info, and this seems to be related.
In the build logs on Netlify, I have the following lines during client build:
and they are not present in the local build.
My Tailwind config is not using any "purge" property that should be migrated (I started with the docs template propvided by Nuxt UI), so I'm not sure why this is happening, but it seems to confirm that the problem is related to Tailwind
5 replies
Problem with Nuxt UI, it looks like some CSS classes don't correctly apply styles
Yes, the problem is not identifying the CSS, is that apparently Tailwind is treeshaking too aggressively, also stripping out of the bundle the classes that are actually used.
5 replies