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
Currently, if you use a certain pre-processor (cfr. https://nuxtjs.org/faq/pre-processors/), you most likely use it predominantly in your app. It would potentially make sense to have the option to declare a default so you don't have to repeat yourself. Of course always possible to be overridden on a per component basis.
For example; I use in every component <style lang="scss">. This could be a setting in nuxt.config instead and I could default to <style>.
What problem does this feature solve?
Currently, if you use a certain pre-processor (cfr.
https://nuxtjs.org/faq/pre-processors/), you most likely use it predominantly in your app. It would potentially make sense to have the option to declare a default so you don't have to repeat yourself. Of course always possible to be overridden on a per component basis.
For example; I use in every component
<style lang="scss">
. This could be a setting in nuxt.config instead and I could default to<style>
.I think of it kind of similar to how currently transition is implemented, there is a default config available in nuxt.config, but you can also set per component transitions. (cfr. https://nuxtjs.org/api/configuration-transition#the-transition-property & https://nuxtjs.org/api/pages-transition#the-transition-property)
What does the proposed changes look like?
Something along the lines of:
The text was updated successfully, but these errors were encountered: