README
What the heck is this?
This is a (slightly) opinionated Yeoman generator for bootstrapping a React project with Webpack, Styled Components and Reach Router.
It is great fun and will save you loads of time so have a go....
Installation
Install Yeoman
npm install -g yo
Then install the generator
npm install -g generator-tony
Using the main 'project' generator
When you want to start a new project cd
into wherever you keep your projects. Then run:
yo tony
That is it, you will have a fresh new project running in the browser via webpack dev server and opened up ready to go in VSCode (assuming you have previously installed the VSCode Shell Commands).
Using the sub generator for creating 'views'
yo tony:view
Name your view, and answer the basic questions and boom you have a new view