@leadhome/react-snap-sitemap
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Create a sitemap post react-snap SSR", | ||
@@ -10,0 +10,0 @@ "main": "index.js", |
@@ -7,6 +7,10 @@ # React Snap Sitemap | ||
This package was created based off [this comment](https://github.com/stereobooster/react-snap/issues/38#issuecomment-487350403) by [@erel](https://github.com/erel). | ||
## Installation | ||
`npm install --save @leadhome/react-snap-sitemap` | ||
## Useage | ||
Add `&& react-snap-sitemap --base-url='http://example.com/'` to the end of your build script, after you've called the `react-snap` command. | ||
Add `&& react-snap-sitemap --base-url='http://example.com/'` to the end of your postBuild script after you've the `react-snap` command. | ||
You can also add `--change-frequency=always|daily|weekly|monthly|yearly|never`. |
15
3794