Closed empereira closed 4 years ago
Needed the "require." Now, works!!
const src = require("../assets/weather-station.png");
Hello @empereira ,
in your case you are right, you need require
or import
.
But transformAssetUrls
in vue-loader options need to automatically transform from template.
<template>
...
<vl-style-icon src="../imgs/marker.png" />
...
</template>
With transformAssetUrls
this will automatically transform to const marker = require('../imgs/marker')
and use it as prop.
Hi @ghettovoice ,
314 start here...
When I use an url, it works, but when I put the relative path of the local icon/image, it does not render.
I using this via json code.
veu.config.js
Do I need other settings?