How to generate sitemap with react router
问题 I'm trying to figure out how to dynamically generate sitemap in reactJS server side (express) web app. I'm using react router. 回答1: For simple ReactJS sitemap integration with React Router, you should check out the react-router-sitemap package. It's fairly configurable as well, as you can see in the docs, so if you need to include change frequency or things like that, you should be able to do it no problem. Or were you looking for a way to implement one yourself? 回答2: Try this one to generate