You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there scope for the dirs property to accept an object array instead of a string array such that i can provide separate configuration options for certain component directories? ie. i have a components/common directory with folders such as controls, inputs, utils, typography, etc that are just for organisation but id like all components in components/common to be prefixed with 'v'. i have another directory called components/domain that also has root level directories that map to business needs that are all essentially composed of components from the common directory, i don't want anything in the components/domain to be prefixed but id like to also import them. nuxt.configs components property does this quite well.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is there scope for the dirs property to accept an object array instead of a string array such that i can provide separate configuration options for certain component directories? ie. i have a components/common directory with folders such as controls, inputs, utils, typography, etc that are just for organisation but id like all components in components/common to be prefixed with 'v'. i have another directory called components/domain that also has root level directories that map to business needs that are all essentially composed of components from the common directory, i don't want anything in the components/domain to be prefixed but id like to also import them. nuxt.configs components property does this quite well.
Beta Was this translation helpful? Give feedback.
All reactions