Skip to content

Add SVG split-image reproduction - #1

Draft
hendrikheil wants to merge 1 commit into
mainfrom
feature/usr-218-c8b9
Draft

Add SVG split-image reproduction#1
hendrikheil wants to merge 1 commit into
mainfrom
feature/usr-218-c8b9

Conversation

@hendrikheil

Copy link
Copy Markdown
Member

Reproduces the reported problem: an SVG uploaded via Nuxt Studio breaks when used in a "split image", while it works in a "feature block".

  • public/nuxt-logo.svg — sample SVG asset
  • SplitImage.vue / FeatureBlock.vue — MDC components rendering the SVG via an image prop
  • content/svg-split-image.md — page using the SVG in both components

Verified locally with nuxt dev: both components render <img src="/nuxt-logo.svg"> and the asset is served as image/svg+xml.

Use this page in Studio to confirm SVG upload + rendering survives a deploy.

Reproduces uploading an SVG in Nuxt Studio and using it in a split image
component. Adds SplitImage and FeatureBlock MDC components, an SVG asset
and a content page referencing the SVG in both.

Generated with [Linear](https://linear.app/stafftastic/issue/USR-218/svg-dateien-in-nuxt-studio-hochladen-und-im-split-image-nutzen#agent-session-dd47d0cc)

Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
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.

1 participant