I want to do the same as here but instead I want to use images.sample as parameter e.g props
:['images.sample']
,
<template>
<img :src="images.sample">
</template>
<script>
export default {
data() {
return {
images: {
sample: require('./assets/static/images/sample.jpg')
}
}
}
}
</script>