0.1.0 • Published 7 years ago
generator-tony v0.1.0
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 yoThen install the generator
npm install -g generator-tonyUsing the main 'project' generator
When you want to start a new project cd into wherever you keep your projects. Then run:
yo tonyThat 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:viewName your view, and answer the basic questions and boom you have a new view
0.1.0
7 years ago