Just added the package normalize-scss to my new Vue project, but none of the styles are being applied... I've tried both:
@import 'normalize-scss' in my styles.scss
import 'normalize-scss' in my main.js page
Am I doing something wrong? The package is clearly there because the app runs, but it doesn't actually apply any css rules.
I figured it out. You need to put the normalize() after you import it, in your main.scss file. So:
@import 'normalize-scss';
@include normalize();
after installing it with npm import it at the top of main.js file:
import "normalize.css"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With