Style background-image dont get publicPath
leon last edited by leon
Hi. I have an app that on produciton must be served over ‘App’ domain name.
Have this code
background-image: url('/statics/fundo4.jpg'); (if use statics/fundo4, style loader gives error not found)
On quasar.config i use
It works for img src perfect. (/App/statics/fundo4.jpg)
But for vue style, dont. (/statics/fundo4.jpg)
This is a limitation of Webpack and nothing Quasar can do for you unfortunately. Have you considered moving to assets to let Webpack deal with it? Also please read http://quasar-framework.org/guide/app-handling-assets.html and make sure you understand all of it.