I used the project created by vue-cli 2.x, and then in the .vue file
<style>
@import "@/assets/icon/iconfont.css";
</style>
will report an error: Module build failed: Error: Failed to find"~ @ / assets/icon/iconfont.css"
even if I add ~
, I will still report an error: Module build failed: Error: Failed to find"@ / assets/icon/iconfont.css"
does any boss know how to solve it? Thank you very much!