You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the sitemap module (which is, except this, quite usefull).
My pages folders are like this : /pages/reservation/index.vue with external .js & .scss files.
In the sitemap, i have both /reservation & /reservation/reservation created routes.
I've tried to exclude "*/**.js" in nuxt.config.js.
Am i missing something ?
Thanks for your help !
The text was updated successfully, but these errors were encountered:
In sitemap options inside nuxt.config.js, you can exclude with the following syntax:
sitemap: {
exclude: [
'/**/*.js', // this should work
'/reservation/**/*.js', // this should also work
'/secret',
'/admin/**',
'/graphql/**',
],
defaults: {
// ...
}
}
Hello !
I'm trying to use the sitemap module (which is, except this, quite usefull).
My pages folders are like this : /pages/reservation/index.vue with external .js & .scss files.
In the sitemap, i have both /reservation & /reservation/reservation created routes.
I've tried to exclude
"*/**.js"
in nuxt.config.js.Am i missing something ?
Thanks for your help !
The text was updated successfully, but these errors were encountered: