Seduxtion
nuxt layers, using tailwind "addCompomnent"
Hey everyone, so im working in a nuxt monorepo with layers following the same structure as alexander licher in this video: https://www.youtube.com/watch?v=fr5yo3aVkfA
and this is so far working super great!
however i managed to meet 1 problem, we´re using tailwind for styling and together with our design team we have made a design system that´s meant to be super easy for us to adjust. However we have a problem right now with our fonts.
using the tailwind plugin "addComponents" we´re adding styling like this
and then we´re adjusting thise in each brand ( evert folder have their own tailwind.config file and assets/tailwind.css file.
right now we have 3 folders (base, ill, wom) and each folder have their config file, and all basic color and stuff like that in the tailwind seems to work, however it seems like even our wom and ill is getting the styling from the base folder regarding that addComponent styling.
can anyone answer me or guide me in the right direction here?
1 replies