In vue-cli, because it's defined in webpack.base.conf.js, I can use @ like this in <template>:
<img src="@/assets/logo.png">
but not like this in <style>:
background: url(@/assets/logo.png);
actually I can write it as url(../assets/logo.png) and it works, but it makes the url depend on the component's path: I would have to rewrite the url if I move the components (to subdirectory, for example).
How should I solve this problem?