armved / react-avate

React boilerplate ruled by modern standarts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React-Avate - Boilerplate ruled by modern standarts

What includes

  • Component and Reducer generator.
  • LESS preprocessor (Autoprefixer).
  • Flowtype.
  • Configured ESlint (Prettier).
  • HMR (Hot module replacemant).
  • Code spliting.
  • Assets loading.

Usage

Clone:

git clone https://github.com/armved/react-avate.git

Dependencies:

npm install

or

yarn install

Change React-Avate to your project name in .env and package.json.

If you are using assets (photos, fonts, etc.) you can load them easily. First add it in assets folder then import it in assets/index.js

Making new component or reducer:

yarn gen

If you are generating reducer don't forget add it in rootReducer.

Dev server:

Webpack dev server starts in 8080 port (Check .env file for ENV=DEV)

yarn start

Build:

For deployment perfomance and extracted CSS in .env change ENV to PROD

yarn build

Contributors



Avetik Harutyunyan (armved) Gegham Samvelyan (VamOSGS)

About

React boilerplate ruled by modern standarts

License:MIT License


Languages

Language:JavaScript 82.8%Language:HTML 15.2%Language:CSS 2.0%