Closed Kuchiriel closed 5 years ago
Hi @Kuchiriel , I did not quite understand your doubt, could you rephrase the question?
Hi @anteriovieira , It doesn't work out of the box, you have to @import '~/node_modules/buefy/lib/buefy.min.css'
to make it work. There is no difference using nuxt-buefy or buefy packages at all.
Hi @anteriovieira , It doesn't work out of the box, you have to @import ...
Should be working, the css is automatically added according to implementation https://github.com/buefy/nuxt-buefy/blob/master/lib/module.js#L21
I'll do some testing later, if you have any progress let me know.
No progress, I am justing using bulma now.
nuxt.config.js
modules: [ // provide path to the file with resources ['nuxt-sass-resources-loader', './assets/main.scss'] ],
main.scss
@import "~bulma/sass/navbar.sass
@Kuchiriel , Well I just followed the README.md, added only nuxt-buefy
added to modules
section of the nuxt.config.js
file and it seems to work out of the box.
@damien-biasotto You cloned the repo or started from scratch?
Sorry @Kuchiriel for the delay, I totally missed the notificiation.
I am not sure what you're implying by started from scratch but here what I've done :
And that's it.
My node version at that time was 10.4.0, npm version was (probably) 6.1.0, nuxt version 1.0 nuxt-buefy: 0.0.3
I will try to set it up again, just to double check if I missed something, and if it's working I'll zip that and share it with you
@Kuchiriel so I started from scratch :
The commands I used:
mkdir nuxt-buefy-debug;
cd $_;
vue init nuxt-community/starter-template .
npm i
npm i -S nuxt-buefy
Environment:
npm
: 6.1.0node
: 10.4.1And here is my project https://nofile.io/f/OKFbc6WBTUp/nuxt-buefy-debug.zip
@damien-biasotto npm i -S nuxt-buefy
This is the same as cloning the project, but the files will be in node_modules folder.
@Kuchiriel well, maybe it's not? Does simple cloning create buefy.js file in .nuxt directory? PS. Oh, i think I'm starting to get it.
Usage { modules: [ // Simple usage 'nuxt-buefy',
] }
It isn't that simple, and this repo is the proof.