Skip to content
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

The meaning of the exclude parameter is not clear. #65

Closed
ilyaskorik opened this issue Jun 6, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@ilyaskorik
Copy link

commented Jun 6, 2019

Judging by the code, it filters the routes of nuxt, and not the final xml file data. In my case it does not work. Can you fix this and filter the final data?

This question is available on Nuxt community (#c51)

@cmty cmty bot closed this Jun 6, 2019

@cmty cmty bot added the cmty:question label Jun 6, 2019

@cmty

This comment has been minimized.

Copy link

commented Jun 6, 2019

This issue as been imported as question since it does not respect sitemap-module issue template. Only bug reports and feature requests stays open to reduce maintainers workload.
If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically.
Your question is available at https://cmty.app/nuxt/sitemap-module/issues/c51.

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019 — with CMTY

As explain in the README, the exclude parameter is only for the static routes generated by Nuxt (see https://nuxtjs.org/guide/routing#basic-routes).
Else you can use the filter parameter to filter the any data before the sitemap generation.

Can you be more explicit about your need? (eg. give an example of use case)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.