question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Workaround for `useI18n` is generating warnings in a loop

See original GitHub issue

The workaround for using i18n with composition api currently described here: https://quasar.dev/start/upgrade-guide#vue-i18n-v9 causes some problems for me.

When used it generated the following warning message:

[intlify] Not supported 'formatter'.
[intlify] Not supported 'preserveDirectiveContent'.

And on HMR it then ends up in a loop where there is a constant stream of warnings clogging the console. Using the useI18n method exported by vue-i18n does not have this issue, so I resolved to using that. Is there anyone else having this same issue?

I am using unplugin-auto-import together with script setup, it might also have something to do with that if nobody else has this same problem.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

3reactions
95sunnycommented, May 23, 2022

createI18n, options, legacy: false

3reactions
Nicolanacommented, Apr 7, 2022

Is there a way to solve it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

When warnings occur in a loop in R, is it possible to report and ...
I currently have some code where I am looping over a regression model and for some iterations, there appears a warning message. For...
Read more >
The Ultimate Vue Localization Guide | Phrase
Let's construct the Vue I18n instance in a new module. We'll create a directory called src/i18n and place an index.js file within. src/i18n/ ......
Read more >
Untitled
files in the tarball - read_udp_packets: bail out loop on bad sockets ... fix libcurl.pc and curl-config generation for static MingW* cross builds...
Read more >
Plasma 5.2.95 complete changelog - KDE Community
Create the QML components directory for Plasma. ... Fix runtime warning "mimetype() not emitted when sending first data!". ... Use i18n plural call....
Read more >
Untitled
files in the tarball - read_udp_packets: bail out loop on bad sockets ... Sieve date extension: generate warning when invalid date part is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found