Remove NuxtImg for non asset files
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<h3 class="font-semibold text-xl">QR Code</h3>
|
||||
<p>Scan the QR code to open the form (Right click to copy the image)</p>
|
||||
<div class="flex items-center">
|
||||
<NuxtImg v-if="QrUrl" :src="QrUrl" class="m-auto" />
|
||||
<img v-if="QrUrl" :src="QrUrl" class="m-auto" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -18,7 +18,7 @@ export default {
|
||||
},
|
||||
|
||||
data () {
|
||||
return {
|
||||
return {
|
||||
QrUrl: null
|
||||
}
|
||||
},
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</div>
|
||||
|
||||
<div class="aspect-[4/3] rounded-lg shadow-sm overflow-hidden">
|
||||
<NuxtImg class="group-hover:scale-110 transition-all duration-200 h-full object-cover w-full"
|
||||
<img class="group-hover:scale-110 transition-all duration-200 h-full object-cover w-full"
|
||||
:src="template.image_url" alt=""
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user