Skip to content

arcadian-group/react-snap-sitemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Snap Sitemap

IMPORTANT: This project is unmaintained

This project was originally created to solve a one-off issue we had with a react-snap project. We are no longer actively maintaining or supporting this package.

Our last action on this project has been to merge in one of the more popular forks of this package: https://github.com/alex-drocks/react-snap-sitemap

It is my strongest recommendation that anyone who actively uses this package migrate over to this fork, as it appears to be somewhat more actively maintained.


A companion package for react-snap.

This package allows you to generate a sitemap.xml based off the created directories and files produced by react-snap.

This package was created based off this comment by @erel.

Installation

npm install -D @arcadian-digital/react-snap-sitemap

Usage

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.

If you need trailing slashes at the end of your URLs add --add-slash=true

About

Create a sitemap post react-snap SSR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published