-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Support i18n module #7
Comments
Hey, thanks for the issue! I've added the export default defineNuxtConfig({
sitemap: {
inferStaticPagesAsRoutes: false,
}
}) I'll be looking to support i18n properly soon, if you have any other ideas on what the integration should look like, please let me know :) |
@harlan-zw PS In the README.md, it is said that the |
Thanks, have updated the doc. Did you run into an issue with it being |
Nope, no issues. I find it weird to have Plus, you run |
Agreed, the code isn't as good as it could be, optimised for getting it finished. Will refactor it at some point when I add a new feature. Always happy to receive PRs too :P |
Describe the bug
By default nuxt-simple-sitemap generates pages components urls.
This clashes with pre-rendered routes and i18n.
We should be able to disable default urls generation (prevent generateUrls function from running) without excluding them one by one.
Reproduction
Reproduction link
yarn build
open ./.output/public/sitemap.xml
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: