Vue.js and Tailwind CSS not displaying background image correctly
P粉021854777
P粉021854777 2023-08-31 09:39:59
0
1
590
<p>Component code</p> <p>The image in the background is not displayed. The same thing happens when I try to use "bg-shoes" in tailwindcss</p>
P粉021854777
P粉021854777

reply all(1)
P粉937769356

Make sure to bind the style attribute. and use a single curly brace in the syntax <div v-bind:style="{ backgroundImage: Make sure the value is a string }"></div>

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template