Stefano Bartoletti
Stefano Bartoletti
NNuxt
Created by Dobby on 10/11/2024 in #❓・help
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 scratch
2 replies
NNuxt
Created by Stefano Bartoletti on 10/9/2024 in #❓・help
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:
10:51:48 PM: warn - The `purge`/`content` options have changed in Tailwind CSS v3.0.
10:51:48 PM: warn - Update your configuration file to eliminate this warning.
10:51:48 PM: warn - https://tailwindcss.com/docs/upgrade-guide#configure-content-sources
10:51:48 PM: warn - The `purge`/`content` options have changed in Tailwind CSS v3.0.
10:51:48 PM: warn - Update your configuration file to eliminate this warning.
10:51:48 PM: warn - https://tailwindcss.com/docs/upgrade-guide#configure-content-sources
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
NNuxt
Created by Stefano Bartoletti on 10/9/2024 in #❓・help
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
NNuxt
Created by Stefano Bartoletti on 9/25/2024 in #❓・help
Are Nuxt UI licenses available for open-source docs projects?
thanks @manniL / TheAlexLichter !
3 replies
NNuxt
Created by Stefano Bartoletti on 8/9/2024 in #❓・help
I need help with an icon library that provides a Vue package too, but is not working on Nuxt
No it's not available there unfortunately
4 replies
NNuxt
Created by Stefano Bartoletti on 3/9/2023 in #❓・help
How to get transition config from an external object
Some clues about this? Is it possible to use an external variable inside definePageMeta?
2 replies