this source can create easily SPA in github. @hidekuma
- Adding 'else > not found' router's conditions may affect other repository.
- replace RoutePrefix with your repository name in
src/componets/App.js
,webpack.config.dev.js
- git clone
- yarn install
- yarn start (dev) / yarn build (deploy)
- check
http://localhost:3000
(dev) - after build,
ln -s index.html 404.html
(symbolic link)