Closed stieben closed 3 years ago
I have a minimal Nuxt site; my main.scss only loads the following Buefy files:
@import '~buefy/src/scss/utils/_all'; @import '~buefy/src/scss/components/_message';
Which is to say: Choosing what SCSS to include works. ✔️
Regarding the JS part of the components – Buefy supports including specific components:
import { Input, Table } from 'buefy' Vue.use(Input) Vue.use(Table)
Is there a way to do the same with nuxt-buefy? As I understand, nuxt-buefy automatically imports all components, so my vendors chunk looks like this:
nuxt-buefy
No you have to create a your own plugin
I have a minimal Nuxt site; my main.scss only loads the following Buefy files:
Which is to say: Choosing what SCSS to include works. ✔️
Regarding the JS part of the components – Buefy supports including specific components:
Is there a way to do the same with
nuxt-buefy
? As I understand,nuxt-buefy
automatically imports all components, so my vendors chunk looks like this: