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