-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
Change seo option to false for next major version #346
Comments
Thanks @rchl, I think this makes sense. Would you have some time to open a PR by any chance? |
(for next major version!) Disable seo by default (fixes #346)
BREAKING CHANGE: Global seo option is now disabled by default. To preserve the previous behaviour, set `seo: true` in the module's options. Doc: https://nuxt-community.github.io/nuxt-i18n/seo.html fixes #346
BREAKING CHANGE: Global seo option is now disabled by default. To preserve the previous behaviour, set `seo: true` in the module's options. Doc: https://nuxt-community.github.io/nuxt-i18n/seo.html fixes #346
Guys, THIS MUST BE ADDED IN THE NEXT VERSION!!!! I just waisted a WHOLE DAY trying to figure out why my already built website had major issues with my page styles breaking on page route changes because my body class style kept changing all of a sudden. I spent the whole day looking into things and resorted to changing my CSS to get it to work. Then realised what if it's something to do with nuxt-i18n because I installed it the previous day. Then I read this, and made seo:false, AND MY WEBSITE IS BACK TO NORMAL AGAIN!!!! (Yes i am extremely happy now!) Guys this is a bad design decision... Never force a setting on a user! Please disable in the next release! |
@hga77 That's the plan :) 5115b5b |
BREAKING CHANGE: Global seo option is now disabled by default. To preserve the previous behaviour, set `seo: true` in the module's options. Doc: https://nuxt-community.github.io/nuxt-i18n/seo.html fixes #346
What problem does this feature solve?
seo = true
option is computationally expensive (https://nuxt-community.github.io/nuxt-i18n/seo.html#improving-performance), sometimes even breaks the code, and users typically don't need the functionality it provides and would be fine with using it the way the mentioned link describes.What does the proposed changes look like?
I suggest change
seo
option tofalse
by default, update documentation regarding that and suggest using solution from https://nuxt-community.github.io/nuxt-i18n/seo.html#improving-performanceThose who really need that functionality will be able to change the option to
true
.The text was updated successfully, but these errors were encountered: