React Static

A fast, lightweight, and powerful framework for building static-progressive React applications and websites.

# General

Anything & Everything

Trending conversations
Noob question about embedding script tags from other sites
@kirkleton · 38d
Is it possible to use react-native-web with react-static?
@dancoman · 2d
Migrating issue: `sharedHashesByProp` is undefined (build fails if not changing…
@tn1ck · 38d
Why can't I pass route data to '/' path in v6
@patrickharden · 9d
Dynamic Routes work but show 404 in console
@kirkleton · 4d

sitemap.xml not being generated

December 5, 2018 at 10:13pm

We have a fairly large react-static project hosted on netlify w/ contentful and everything works great - love RS compared to gatsby. The only problem we are running into is that no sitemap.xml is being generated, not sure why? Looks like it should generate automatically and not seeing others with this issue, anybody have any insight? We aren't doing anything fancy in our static config file.

December 6, 2018 at 1:16am

I fixed it, simply needed the siteRoot field!

  • reply
  • like