Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

CraigRamey/spin-react

Repository files navigation

Spin React

Getting started

npm install -g spin-react

Commands

spin-react init [project name]

- Creates the directory structure and installs all of the dependencies.  
  Use npm start to start up the webpack-dev-server.  
  * Side note, the installation of all of the dependencies is much  
  faster if you have Yarn.

- public  
  - bundle.js  
  - index.html  
- src  
  - index.jsx  
- package.json  
- webpack.config.js  
- .gitignore

spin-react class [name]

- creates a .jsx file in your current directory with the same name as the component  
  supplied by [name]. Boilerplate code provided within the file.  

spin-react stateless [name]

Same as class but a stateless component as opposed to a class component  

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published