[Vuejs]-Problem with @import sass files in Vuej.s

0👍

try @/ before your path like this:

 @import '@/assets/test/test.scss'

0👍

The ~ refers to the /node_modules/ relative path: don’t use it here. Having a look at your code, you just need to add import "./assets/icomoon/style.css" in main.ts IMHO. Is it an installed Node module or, as I guessed, a file manually saved in the assets directory?

Leave a comment