-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Console warning by vue-i18n in Quasar v2.0.0-beta.3 #8448
Comments
I've tried to overcome this by adding these with webpack's definePlugin in quasar.conf:
but when I use define plugin within webpack chain, it overwrites all other constant definitions of Quasar and cause more problems. |
@onurkose It means that you've replaced the current config with yours. You need to either:
Regardless of this, will add this in the next release to ease the use of vue-18n |
Feature flags definition will be available in "@quasar/app" v3.0.0-beta.4. |
The following message will still persist (but it is taken care of correctly for prod builds):
You can also safely ignore the following when yarn/npm installing. The explanation is long, but long story short this is a false positive and there's no technical solution to avoid the message being displayed.
|
@rstoenescu I'm still getting the warning. From
Some infoProject created with @quasar/[email protected]
Quasar mode: |
@Lietsaki again??? will look into it and see what vue-i18n guys changed. thanks for reporting. |
@Lietsaki Well, apparently vue-i18n will display this regardless of whether the build flags are set or not. Extract from their code:
|
You can follow the discussion here: intlify/vue-i18n#461 (comment) |
Hi everyone! I have found the solution for that warning: go to src\boot\i18n.js file from your project folder and change the
that should work! |
It worked for me too! Thanks @ctpli ! |
any other same? |
Describe the bug
A clear and concise description of what the bug is.
Codepen/jsFiddle/Codesandbox (required)
(Seems sandbox is not available for this version yet.)
To Reproduce
Steps to reproduce the behavior:
Create an new project:
quasar create quasar.i18n-issue-n4 --branch next
While installing, this warning shows up:
Run
quasar dev
and open the website in browser. Check dev console, where these 2 messages show:Expected behavior
There should be no error/warning on the default build.
Screenshots
Platform (please complete the following information):
Quasar Version: v2.0.0-beta.3
@quasar/app Version: v3.0.0-beta.3
Quasar mode:
[ *] SPA
[ ] SSR
[ ] PWA
[ ] Electron
[ ] Cordova
[ ] Capacitor
[ ] BEX
Tested on:
[ *] SPA
[ ] SSR
[ ] PWA
[ ] Electron
[ ] Cordova
[ ] Capacitor
[ ] BEX
OS: Debian GNU/Linux 9 (Docker)
Node: v14.15.1
NPM:
Yarn: 1.22.5
Browsers: Chrome Version 88.0.4324.146 (Official Build) (64-bit)
iOS:
Android:
Electron:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: