1.1.0 • Published 4 years ago

spa-from-sitemap v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

spa-from-sitemap

Auto make folders for routes and copy index.html - all from sitemap.xml

install

npm i --save-dev spa-from-sitemap

usage

First build your app into ./dist

    Example Usage: npm run spa-from-sitemap https://pietal.dev/sitemap.xml ./dist

example

$ yarn spa-from-sitemap https://pietal.dev/sitemap.xml ./dist
$ /home/jpietal/projects/pietal.dev/node_modules/.bin/spa-from-sitemap https://pietal.dev/sitemap.xml ./dist
{ sitemapUrl: 'https://pietal.dev/sitemap.xml',
  distDir: './dist' }
./dist/page/home/index.html
./dist/page/games/index.html
./dist/page/privacy-policy/index.html
./dist/page/author/index.html
./dist/game/chi-land/index.html
./dist/game/meteor/index.html
./dist/game/jan-ken-do/index.html
./dist/game/japan/index.html
./dist/game/ubik/index.html
./dist/game/stoned/index.html
./dist/game/space/index.html
./dist/game/ubik-rpg/index.html
./dist/game/tv/index.html
./dist/game/ctf/index.html
./dist/game/tactics/index.html
1.1.0

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago