Creating a starter kit for react to get the react setup up and running in no time.
- Install node on your machine
- Install yarn (yarn is used in place of npm)
- git clone this repo
- cd into project root
- In the project root, run
yarn install
to install dependencies - To start app
yarn start
- React, React Router, and Flux for ultra-responsive UI development
- Browserify bundling
- jQuery with Bootstrap for styling
- Gulp build that:
- compiles JSX
- lints JSX and JS via ESLint
- bundles JS and CSS files
- migrates the built app to the dist folder
- runs a dev webserver
- opens your browser at the dev URL
- reloads the browser upon save
- Install NodeJS
- Download this repo
- Open the command line of your choice and cd to the root directory of this repo on your machine
npm install
- Installs packagesnpm install -g gulp
- Installs gulp globally. Why globally?gulp
- Builds the project and opens your browser. Check here if you have issues.- Navigate to http://localhost:9005/ if your browser doesn't open automatically.
- use the existing npm package from facebook
npm i create-react-app -g
- use
create-react-app <app-name>
to create new project withapp-name