N
Nuxt10mo ago
denislu93

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
denislu93
denislu93OP10mo ago
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.
Alexander Kim
Alexander Kim9mo ago
@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) ?
Want results from more Discord servers?
Add your server