Basic structure for web apps with typescript, angular2 and webpack
First, install Yeoman and generator-angular-2-webpack using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-angular-2-webpack
Then generate your new project:
Then generate a component:
(example name: contact-list)
Then generate a service:
(example name: github-connection)
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
MIT © ivan