Skip to content

mojomoth/react-js-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-js-boilerplate

React-js-boilerplate is a Universal React boilerplate that uses Webpack

Getting started

First, clone the project:

$ git clone https://github.com/mojomoth/react-js-boilerplate.git <project-name>
$ cd <project-name>

Branches

Just in case you do not need some features, different branches are provided in this project.

Branch Description
react-js-boilerplate Pure react project
react-js-boilerplate2 Environment with CSS, SCSS, Eslint
$ git checkout <branch>

Then, install the dependencies. It is recommended to use Yarn, (because it is blazing fast). You can still use npm as well.

$ yarn install # or npm install

Script usage

You can execute the scripts below by yarn run <script> or npm run <script>.

Command Description
start Starts webpack development server; served at localhost:7000
build Bundles the source in ~/build directory

Directory structure

- config               # webpack configuration files
- src                  # application source code 
----- components       # directory for presentational components

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published