I had this problem even I didn't manage to sleep, guys
my codes are like these
<style lang="scss" scoped>
@import '~/assets/scss/main.scss'
.home_nav{
nav {
}
}
</style>
the error is
please, someone, to help me
i found the problem was typo error i was missing ;
on @import '~/assets/scss/main.scss'
Note: even if this error occurred in
vue.js
the solution does not apply only inVue
but anywhere you usenode-sass
andsass-loader
( now calledsass
)
then it had to be like this
<style lang="scss" scoped>
@import '~/assets/scss/main.scss';
.home_nav{
nav {
}
}
</style>
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