SassError: media query expression must begin with '('
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
then it had to be like this
<style lang="scss" scoped> @import '~/assets/scss/main.scss'; .home_nav{ nav { } }</style>