nuxt-modules / i18n

I18n module for Nuxt
https://i18n.nuxtjs.org
MIT License
1.76k stars 484 forks source link

HMR not working with v-html #3195

Open kickthemooon opened 3 weeks ago

kickthemooon commented 3 weeks ago

Environment

Reproduction

The reproduction repository: https://github.com/kickthemooon/nuxt-i18n-hmr-issue

Describe the bug

As the title says, I'm having trouble getting HMR to work when using $t() in combination with v-html https://github.com/kickthemooon/nuxt-i18n-hmr-issue/blob/main/app.vue

The i18n config is here https://github.com/kickthemooon/nuxt-i18n-hmr-issue/blob/main/i18n.config.ts

Additional context

My general goal is to also use html in my translations where necessary.

Logs

No response