0👍
As of today, Buefy has an official support for Nuxt. Instead of importing buefy’s css inside nuxt.config.js
and creating a new plugin, you can use a nuxt module.
If you create a new Nuxt project using create-nuxt-app
, you can choose to add Buefy as your UI framework.
If you have an existing nuxt project, you can simply install the nuxt-buefy
module manually:
npm i nuxt-buefy
nuxt.config.js
...,
modules: [
'nuxt-buefy',
],
...
Source:stackexchange.com