generator-react-struggle
v0.0.2
Published
Generates a light react app design for easy deployment to static hosting
Downloads
2
Readme
yo-react-struggle
Light react app generator, perfect for github, amazon, or any other cdn!
This generator uses jsx, scss, and react-router. It is generally a personable convience, but it is available for everyone.
Installation
First, install Yeoman and generator-react-struggle using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-react-struggle
Ready yourself for react struggle
yo react-struggle
React struggle will create a folder for you project, navigate there, do a
npm run watch
and your off!
Project structure
Once you've scaffold the app you'll have something like this:
/src
-> app.js
//components
-> root.jsx
//stylesheets
-> main.scss
App js has the router information in it, root.jsx is where you should begin your app, and main.scss is where you should begin your styling.
Contributing
PR's are welcome!
License
MIT ©