A minimalistic kit to bootstrap a React application with a set of preconfigured tools.
Clone the repo, using your own project name
git clone https://github.com/kyleshevlin/react-nano-kit <project-name>
cd <project-name>
If Yarn is not already installed globally on your machine, install it.
npm install -g yarn
Now we can run a script to do some initial setup of your project.
yarn run setup
This script does the following:
.git
directory and READMEpackage.json
file with your new project's informationNow, we can start the app in two ways. First, we can build the app into a build/
directory:
yarn build
Or we can start it using webpack-dev-server
at http://localhost:8080
:
yarn start