[Vuejs]-Can't load CSS into Vue cli project. Mimetype is always html

0👍

This should work if you are pulling it from node_modules:

@import "~bootstrap/scss/bootstrap";

check how I did it here.

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!

Leave a comment