buefy / nuxt-buefy

Nuxt Buefy
MIT License
223 stars 32 forks source link

docs: VS Code Debug: Can't resolve 'bulma/sass/utilities/__all' #102

Open MentalGear opened 3 years ago

MentalGear commented 3 years ago

First, thanks for this package and keeping it updated. I came across some debugging annoyance and managed to resolve it. Sharing the solution here for anyone who might have the same trouble. Also, maybe something to be added to the official guide.

I was getting the following 'uncaught exceptions' while trying to run VS code's debugger over my nuxt-buefy project. Exception has occurred: Error: Can't resolve 'bulma/sass/utilities/__all' Error: Can't resolve 'buefy/src/scss/_buefy'

I was able to fix it using:

// instead of @import '~bulma/sass/utilities/_all';
@import '~/node_modules/bulma/sass/utilities/_all';

// instead of @import '~buefy/src/scss/buefy';
@import '~/node_modules/buefy/src/scss/buefy';

Repo: https://github.com/MentalGear/netlify-dev_debug_vs-code

wesdevpro commented 1 year ago

@MentalGear Have you figured out what is wrong with your setup?