- React Single-Page-Application template without create-react-app
- Configured with Webpack, Babel, ESLint, Sass, PostCSS and emotion
- If you need anything else, please contribute or leave an issue!
https://ofnullable.github.io/react-spa-template
# clone this repository
$ git clone https://github.com/ofnullable/react-spa-template
# go into template directory
$ cd react-spa-template
# install dependencies
$ npm install
$ npm start
Run dev server on http://localhost:8080
$ npm run build
Creating a Production Build. The build artifacts will be stored in the dist/
directory.
# edit package.json
{
...
"hompage": "https://{github username}.github.io/{repository name}",
}
$ npm run deploy
Deploy to github pages