Skip to content

MagicBrownson/react-spa-template

 
 

Repository files navigation

🎉 React SPA Template 🎉

An easy-to-use react template

  • 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!

Live demo

https://ofnullable.github.io/react-spa-template

Installation

# clone this repository
$ git clone https://github.com/ofnullable/react-spa-template

# go into template directory
$ cd react-spa-template

# install dependencies
$ npm install

Commands

Run dev server

$ npm start

Run dev server on http://localhost:8080

Build

$ npm run build

Creating a Production Build. The build artifacts will be stored in the dist/ directory.

Deploy github pages

# edit package.json
{
  ...
  "hompage": "https://{github username}.github.io/{repository name}",
}
$ npm run deploy

Deploy to github pages

About

🎉 React Single Page App template without CRA 🎉

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 95.3%
  • HTML 2.8%
  • SCSS 1.9%