Skip to content

fix(vue-demo-store): use bound src attributes for public images#2401

Merged
Maciej D (mdanilowicz) merged 2 commits intomainfrom
feat/virtualimage-fix
Apr 16, 2026
Merged

fix(vue-demo-store): use bound src attributes for public images#2401
Maciej D (mdanilowicz) merged 2 commits intomainfrom
feat/virtualimage-fix

Conversation

@mdanilowicz
Copy link
Copy Markdown
Contributor

This pull request makes a patch-level update to the vue-demo-store by ensuring that all public image sources use bound :src attributes in Vue templates. This change ensures asset URLs are handled consistently by the Vue template compiler, which can help avoid issues with asset resolution, especially in production environments.

Consistent image asset handling:

  • Updated all image tags in the vue-demo-store components to use bound :src attributes instead of static src attributes, notably for /logo.svg and /maintenance_mode.svg, to ensure consistent asset URL handling by the Vue template compiler. [1] [2] [3] [4] [5]

Documentation:

  • Added a changeset describing the update and the reason for switching to bound :src attributes for public images.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
frontends-starter-template-extended Ready Ready Preview, Comment Apr 16, 2026 7:26am
frontends-vue-starter-template Ready Ready Preview, Comment Apr 16, 2026 7:26am
old-frontends-demo Building Building Preview, Comment Apr 16, 2026 7:26am
shopware-frontends-docs Ready Ready Preview, Comment Apr 16, 2026 7:26am

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the vue-demo-store Nuxt/Vue templates to use bound :src attributes for a couple of images located in public/, and adds a Changesets entry describing the patch.

Changes:

  • Switched several <img> tags from src="/…" to :src="'/…'" for logo.svg and maintenance_mode.svg.
  • Added a patch changeset documenting the change.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
templates/vue-demo-store/app/components/layout/LayoutHeader.vue Changes the header logo image to a bound :src.
templates/vue-demo-store/app/components/layout/LayoutFooter.vue Changes the footer logo image to a bound :src.
templates/vue-demo-store/app/components/layout/LayoutCheckoutHeader.vue Changes the checkout header logo image to a bound :src.
templates/vue-demo-store/app/components/errors/MaintainMode.vue Changes the maintenance illustration to a bound :src.
templates/vue-demo-store/app/components/account/AccountLoginForm.vue Changes the login modal logo image to a bound :src.
.changeset/wide-spoons-grin.md Adds a patch changeset entry for vue-demo-store.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread templates/vue-demo-store/app/components/layout/LayoutHeader.vue
Comment thread templates/vue-demo-store/app/components/layout/LayoutHeader.vue
Comment thread templates/vue-demo-store/app/components/layout/LayoutFooter.vue
Comment thread templates/vue-demo-store/app/components/errors/MaintainMode.vue
@mdanilowicz Maciej D (mdanilowicz) merged commit f566e97 into main Apr 16, 2026
11 checks passed
@mdanilowicz Maciej D (mdanilowicz) deleted the feat/virtualimage-fix branch April 16, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants