Workaround for `useI18n` is generating warnings in a loop
See original GitHub issueThe 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:
- Created 2 years ago
- Reactions:1
- Comments:5
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
createI18n, options, legacy: false
Is there a way to solve it?