New Mar 6, 2026

Buefy 3.0.4 and nuxt 4 gives me Cannot read properties of undefined (reading '$buefy')

Libraries, Frameworks, etc. All from Newest questions tagged vue.js - Stack Overflow View Buefy 3.0.4 and nuxt 4 gives me Cannot read properties of undefined (reading '$buefy') on stackoverflow.com

After trying the nuxt-buefy plugin with no successful outcome I tried adding buefy to nuxt using the plugin option. This gives me an server 500 error declaring

'Cannot read properties of undefined (reading '$buefy')'

It is a near fresh installation of nuxt.

My plugins/buefy.ts file looks like so:

import Buefy from 'buefy'
import 'buefy/dist/css/buefy.css'

export default defineNuxtPlugin((nuxtApp) => { nuxtApp.vueApp.use(Buefy, {}) nuxtApp.provide('buefy', Buefy) })

Has anyone had the same error?

I have been at this trying different aproaches and nothing seems to work

Scroll to top