nuxt: v-html not working on dynamic tag

Versions

  • nuxt: Latest version: 3.0.0-27457132.e67ed55
  • node: 14.18.0

Reproduction

https://codesandbox.io/s/nuxt-component-is-html-qfoqdk?file=/app.vue

Steps to reproduce

Create a block with :is and try to use v-html directive

What is Expected?

HTML rendered inside dynamic tag (worked well in vue cli spa project)

What is actually happening?

HTML inside dynamic tag not rendering.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 4
  • Comments: 16 (6 by maintainers)

Most upvoted comments

@danielroe please reopen the issue. I’m still facing the same issue on nuxt 3.7.2. I had the v-html perfectly working on Nuxt2, but performing the migration right now and I can reproduce the same issue as previous contributors.

Thanks for your contribution to Nuxt! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of nuxt-edge
  2. Comment the steps to reproduce it

Issues that are labeled as pending will not be automatically marked as stale.

Thanks Daniel!

Looks like an old bug with Vue 3 SSR that is still open 😕

https://github.com/vuejs/core/issues/6435