Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add dynamic routes from crawler in generate mode#170

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
NicoPennec wants to merge5 commits intodev
base:dev
Choose a base branch
Loading
fromfeat/static-crawler

Conversation

@NicoPennec
Copy link
Member

@NicoPennecNicoPennec commentedDec 9, 2020
edited
Loading

resolves#143

By default the sitemap-module will add all dynamic routes detected by the Nuxt crawler in generate mode, if thegenerate.crawler option is enabled in thenuxt.config.js (by defaulttrue on Nuxt >= v2.13):

$ nuxt generate --target static

A new boolean optioncrawler will be available in the sitemap config to disable it.

eg. of usage:

// disable on sitemap configsitemap:{hostname:'https://example.com/',crawler:false},// disable on sitemapindex configsitemap:{hostname:'https://example.com/',sitemaps:[{path:'/sitemap-foo.xml',crawler:true},{path:'/sitemap-bar.xml',crawler:false}]},

LukaHarambasic, urbgimtam, itsmatteomanf, and weblabio reacted with hooray emoji
@NicoPennecNicoPennec self-assigned thisDec 10, 2020
@LukaHarambasic
Copy link

Is there anyway I can support you on this PR to get it merged? :)

Thanks for your work ❤️

@itsmatteomanf
Copy link

Any update on this@NicoPennec? It would be very cool to have this integrated, doing it manually is a pain especially with this ready to go.

@finex
Copy link

Hi, does the sitemap crawler also put the last update date (lastmod sitemap field) from the crawled pages?

@itsmatteomanf
Copy link

It's been almost a year... any update on this? It's pretty important, as it breaks sitemap support with the latest Nuxt versions.

ThornWalli and dannote reacted with thumbs up emoji

@iBobik
Copy link

Works well with Nuxt 2.15.8, tried also exclude option.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@itsmatteomanfitsmatteomanfitsmatteomanf approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

@NicoPennecNicoPennec

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Nuxt 2.13.0 compatibility (nuxt static export)

6 participants

@NicoPennec@LukaHarambasic@itsmatteomanf@finex@iBobik

[8]ページ先頭

©2009-2025 Movatter.jp