-
Notifications
You must be signed in to change notification settings - Fork 17
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
@nuxt/sitemap not supported? #20
Comments
Untested, but ncg has a done hook you could maybe use to manually call the generate:done hook on the master.
Its a bit hacky but it might just work ;) |
I see! Thanks! |
@midblue would love to know if you got this working w/ relative ease! thinking about using it on my app as well (3k+ pages, hitting time limit on netlify deploy) |
I did! I literally did just what pimile said above and it works perfectly. |
Since v.2.7.0 the Nuxt instance is passed as second arg to the done method, no need for using a Nuxt hook to get the Nuxt instance anymore |
@sebbean pro tip: build locally, then use Netlify CLI to push your code; that way you don't need to bypass the build minutes. |
Hi! I'm using nuxt-generate-cluster to generate my static site (
nuxt-generate -b
).Latest version of Nuxt, latest everything.
At the end of my generation, under normal circumstances (i.e.
nuxt generate
), my sitemap gets generated. Great!However, with nuxt-generate-cluster, this doesn't seem to happen. Is there any way I can manually generate the sitemap, or add a hook the end of this other generate function?
nuxt.config.js:
The text was updated successfully, but these errors were encountered: