Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/wide-spoons-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vue-demo-store": patch
---

Use bound src attributes for public images in vue-demo-store so asset URLs are handled consistently by the Vue template compiler.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async function invokeLogin(): Promise<void> {
<div>
<img
class="mx-auto h-12 w-auto"
src="/logo.svg"
:src="'/logo.svg'"
Comment thread
mdanilowicz marked this conversation as resolved.
alt="logo of the shop"
/>
<h2 class="mt-6 text-center text-3xl font-extrabold text-secondary-900">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="flex items-center justify-center">
<img
class="w-full h-full"
src="/maintenance_mode.svg"
:src="'/maintenance_mode.svg'"
Comment thread
mdanilowicz marked this conversation as resolved.
alt="Maintenance"
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { formatLink } = useInternationalization(localePath);
<span class="sr-only">Shopware</span>
<img
class="h-8 w-auto sm:h-10"
src="/logo.svg"
:src="'/logo.svg'"
Comment thread
mdanilowicz marked this conversation as resolved.
alt="logo of the shop"
width="40px"
height="40px"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const gridColumns = computed<number>(() =>
<span class="sr-only">Shopware</span>
<img
class="h-15 w-auto sm:h-15"
src="/logo.svg"
:src="'/logo.svg'"
Comment thread
mdanilowicz marked this conversation as resolved.
alt="logo of the shop"
/>
</NuxtLink>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const miniCartModal = useMiniCartModal();
<span class="sr-only">Shopware</span>
<img
class="h-10 w-10 lg:h-12 lg:w-12"
src="/logo.svg"
:src="'/logo.svg'"
Comment thread
mdanilowicz marked this conversation as resolved.
Comment thread
mdanilowicz marked this conversation as resolved.
alt="logo of the shop"
width="40px"
height="40px"
Expand Down
Loading