Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMR not working with v-html #3195

Open
kickthemooon opened this issue Nov 1, 2024 · 0 comments
Open

HMR not working with v-html #3195

kickthemooon opened this issue Nov 1, 2024 · 0 comments

Comments

@kickthemooon
Copy link

Environment

  • Operating System: Darwin
  • Node Version: v20.11.0
  • Nuxt Version: 3.13.2
  • CLI Version: 3.15.0
  • Nitro Version: 2.9.7
  • Package Manager: pnpm@9.7.0
  • Builder: -
  • User Config: default
  • Runtime Modules: @nuxtjs/i18n@8.5.5
  • Build Modules: -

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant