Passing data to Nuxt Layer
Hi, does somebody know if there is a way to pass data down to a nuxt layer? I'm facing the issue that I need my layer to be aware of the language determined by the application that extends from that layer.
2 Replies
I think I've found a way by expecting a composable in the application where my layer gets used and adding this composable also in the playground for local development. I'm still interested if there is a better way.
@l422y so basically, i could make a "layer" with a tailwind components, the use it in my main app via
extends
and pass a theme to a layer (colors, sizes, etc) ?