Skip to content

guidovizoso/react-boilerplate

Repository files navigation

React Boilerplate

I made this thinking in my own development process but feel free to use it if you want 👌

How to use it

Installing:

git clone https://github.com/guidovizoso/react-boilerplate.git
npm install

Commands:

npm run dev /* Runs webpack dev server and live reloading */
npm run start /* Runs webpack in production mode with optimizations */

Folder structure

├── src
│   ├── index.js // Renders everything
│   ├── App.jsx // Main component
│   ├── App.css // Main component styles (one stylesheet per component)
│   └── assets // Images and stuff goes here
├── dist // Compiled files goes here
├── package.json
├── .babelrc
├── .eslintrc
├── webpack.common.js
├── webpack.dev.js
├── webpack.prod.js
└── .gitignore

Variables

  • Default project > master branch
  • SASS project > sass branch
  • PostCSS project > postcss branch

Content

  • Webpack
  • Babel (env, react and stage-0)
  • React
  • Styled Components
  • ESlint

Roadmap

  • Initial version
  • Img support
  • Optional SASS and PostCSS
  • Optional Heroku and Now integration
  • Testing support

💬 Made by Guido Vizoso <https://www.linkedin.com/in/guidovizoso/>

About

Yet another react boilerplate. Webpack, Babel, React and ESlint.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published