Open
Description
Hi,
Since this is executed during build and not at runtime, would it be possible to inject the variable into the Nuxt $config
object or maybe create a new $theme
or $styleRessources
object ?
Some Vue component require a color as a props and I don't want to duplicate the data as it make the app harder to maintain.
So for example:
<SomeDummyComponent :color="#ff00ff" />
Would become
<SomeDummyComponent :color="$styleRessource.colorPrimary" />
Metadata
Metadata
Assignees
Labels
No labels