3.0.0-rc.3
https://github.com/andreynazarov3/asset-url-bug
Create a basic project with Vue CLI. Add background: url(@/assets/logo.png); to App.vue to styles.
Explected to resolve relative path to image with webpack.
Error: Module not found: Error: Can't resolve './@/assets/logo.png' in 'C:UsersmeDesktopasset-url-bugsrc'
Strange that it is working when use module mode.
background: url(~@/assets/logo.png)
Thanks!
How to load global less file instead of importing it in every single component?
@LinusBorg I really need your help!
Then you should follow the issue guidelines and ask for help on forum.vuejs.org, not on a closed issue that was about something else.
Oh sorry, my bad
Most helpful comment
background: url(~@/assets/logo.png)