We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v2.12.2
https://gitlab.com/njam/repro-nuxt-html-lang
1: Clone the repro repo:
git clone https://gitlab.com/njam/repro-nuxt-html-lang cd repro-nuxt-html-lang
(relevant commit: https://gitlab.com/njam/repro-nuxt-html-lang/-/commit/be48fd82f0fdfd8197dbf7870a4cb9d74778a09f)
2: Build the static files, and serve them
yarn install yarn run generate npx serve ./dist
3: Open the page in the browser: http://localhost:5000
The browser redirects to "/foo", and the html-tag has the attribute lang="de"
lang="de"
The browser redirects to "/foo", and the html-tag has the attribute lang="de de"
lang="de de"
Open the browser's dev tools to inspec the "lang" attribute:
Maybe vue-meta cannot correctly detect that the previous "lang"-value is coming from a server-rendered file when redirecting?
This vue-meta ticket might be related: #404
The text was updated successfully, but these errors were encountered:
Thanks for the report, this is a duplicate of #541
Closing in favor of that issue
Spoke too soon, doesnt seem to be related after all ;)
Sorry, something went wrong.
See the linked PR, would appreciate your input on my comments about the fix too!
Nice, thanks for the fix @pimlie !
Successfully merging a pull request may close this issue.
Version
v2.12.2
Reproduction link
https://gitlab.com/njam/repro-nuxt-html-lang
Steps to reproduce
1: Clone the repro repo:
(relevant commit: https://gitlab.com/njam/repro-nuxt-html-lang/-/commit/be48fd82f0fdfd8197dbf7870a4cb9d74778a09f)
2: Build the static files, and serve them
3: Open the page in the browser: http://localhost:5000
What is expected ?
The browser redirects to "/foo", and the html-tag has the attribute
lang="de"
What is actually happening?
The browser redirects to "/foo", and the html-tag has the attribute
lang="de de"
Open the browser's dev tools to inspec the "lang" attribute:
Additional comments?
Maybe vue-meta cannot correctly detect that the previous "lang"-value is coming from a server-rendered file when redirecting?
This vue-meta ticket might be related: #404
The text was updated successfully, but these errors were encountered: