Skip to content

shuson/react-starter-2018

Repository files navigation

React Starter

Yet another react eco starter using babel 7, react 16, react router dom 4, eslint, webpack 4, ava+nyc bootstrap, font awesome, etc

Usage

Install dependencies

$ yarn

Run development server

$ yarn start

Building

$ yarn build

Will create a dist directory containing your compiled code.

Depending on your needs, you might want to do more optimization to the production build.

Webpack Bundle Analyzer

Run in development

$ yarn dev

Run on the production oprimized build

$ yarn deploy

Generate Page or Component

$ yarn generate

directory explaination

  1. ./bin contains building scripts
  2. ./src contains source code 2.1 ./src/assets contains pictures, static files etc.
    2.2 ./src/components contains components which are project independent
    2.3 ./src/layouts contains the project screen overall layout, this is the wrapper of all pages
    2.4 ./src/pages contains pages or screens for different features
    2.4.1 ./src/pages/containers/ contains individual redux actions within a page
    2.5 ./sagas, ./services, ./styles are name revealing.

To be done:

About

A react starter using tools and dependencies in 2018

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published