0.1.0 • Published 7 years ago

generator-react-unicorn v0.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

generator-react-unicorn

Scaffolds out the boilerplate for simple react apps. Uses fuse-box for bundling and module loading.

Installation

First you need to make sure you have yeoman installed. If not, pop this command into your terminal

npm install -g yo

Once it has finished installing, enter the following into your terminal. This will allow you to always have this generator available for future projects.

npm install -g generator-react-unicorn

Usage

Now that its installed, whenever you want to create a new react app just navigate to the parent folder of where you want your react app to live via the terminal and enter the following command.

yo generator-react-unicorn <appname>

This creates a new folder with your app name, generates the neccesary files and installs the dependencies.

To run the app, make sure you are using a nodejs 6+. Now run the following:

npm run dev

Now open your browser and navigate to localhost:4444.

Happy coding :)