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
UI libraries delete page's title when TypeScript is used in project #342
Comments
I found it's similar to #151, when I set |
@Fir3st I think it's not TypeScript related, this is more likely an issue with page meta ( And please provide a ready reproduction repository, not something where steps are installing packages, create or moving files. |
@kevinmarrec Ok, I've created example repository https://github.com/Fir3st/nuxt-i18n-test with two branches: |
@Fir3st I can confirm that typescript version has the problem while javascript doesn't but I don't know why. That said, Also, while I don't know where the difference in behavior comes from, it might be fixed in latest vue-meta version, I feel. Nuxt is not using vue-meta@2 yet though, so it's hard to test. @pimlie might be interested in this problem. |
Probably similar as reported here? nuxt/vue-meta#396 Thats fixed in vue-meta v2.0.4. Although nuxt will print a warning about a not recommended version, its fine to ignore that warning (note: there is only one breaking change with regards to boolean attributes). So feel free to test vue-meta v2 in your project and report any errors in the vue-meta repo. Thanks! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@Fir3st I've updated your project to work with latest Nuxt (https://github.com/rchl/bugs-nuxt-i18n-typescript-title ) and it works for me there without problems now. So problem seems fixed. |
As a side note, AFAIK this is something that has been fixed through |
Version
v5.3.0
Reproduction link
https://nuxtjs.org/examples/typescript
Steps to reproduce
What is expected ?
The package should work without side effects
What is actually happening?
When message/notification disappears, page's title is deleted
Additional comments?
I know, it's weird, and my first thoughts were that's the problem of UI library, but I've tested 3 of them and the problem still persists. When I removed the package from modules, it worked fine. It works fine also for vanilla nuxt project (without TypeScript).
The text was updated successfully, but these errors were encountered: