Answer the question
In order to leave comments, you need to log in
Why are vue components not isolated in this case?
Good day.
Actually there is a component - loading of a photo.
I replicate it in 4 copies
<lap-view :side="'/11.png'"></lap-view>
<lap-view :side="'/12.png'"></lap-view>
<lap-view :side="'/13.png'"></lap-view>
<lap-view :side="'/13.png'"></lap-view>
<img :src="side" class="dressImg">
<div class="resizable2" :style="{ 'background-image': 'url(' + image + ')' }">
</div>
export default {
name: "lapview",
props: ["side"],
data() {
return {
image: ""
};
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question