0👍
This should work if you are pulling it from node_modules:
@import "~bootstrap/scss/bootstrap";
check how I did it here.
- [Vuejs]-Using Vue.js and element UI, How to make required field optional depend on checkbox value?
- [Vuejs]-Upload image – Django rest framework
0👍
I tried importing the files in my main.js file instead of the app.vue tags and noticed errors along the lines of ‘couldn’t find modules … /assets/img/bg1.jpg’ etc etc. Turns out that all the asset path within my styles.css files needed correcting before it would work.
Thanks to everyone who assisted!
Source:stackexchange.com