David Muellerchen
David Muellerchen is a trainer at AngularJS.DE. He loves to speak and teach at meetups and conferences. During leisure time he jumps through the parks with his kids or rides his racer. He a
Code like a Viking
All images: thx to 'wiki and the strong men'
David Müllerchen
Developer since 10 Years
Vanila.js, jQuery, Bootstrap, Angularjs, Angular Material, Angular 2
node.js, mysql, mssql, php
@webdave_de
@angular_hamburg
AngularJS.DE
Community rocks!
code generator
Build tool
dev environment
devOps
Handle all your dependencies
Blackbox the Project settings for easy use
Makes it easy to follow the styleguide
Help you feeling like a Boss
You need (as normal) node and npm installed
Install Angular CLI
npm i -g @angular/cli
ng v
_ _ _
__ _ _ __ __ _ _ _ | | __ _ _ __ ___ | |(_)
/ _` || '_ \ / _` || | | || | / _` || '__|_____ / __|| || |
| (_| || | | || (_| || |_| || || (_| || | |_____|| (__ | || |
\__,_||_| |_| \__, | \__,_||_| \__,_||_| \___||_||_|
|___/
@angular/cli: 1.0.0-beta.30
node: 6.9.2
os: win32 x64
//cd into your workspace
cd workspace
//scaffold your project
ng new hello-cli --style=scss
----------
//cd into your workspace
cd workspace
//create a Projectfolder
mkdir hello-cli
//cd into your Prpjectfolder
cd hello-cli
//scaffold your project
ng init --style=scss
cd hello-cli
ng serve
ng serve --prod
http://localhost:4200/
ng g
ng generate <blueprint> [<path-to>/]<name>
blueprint:
component
directive
service
pipe
module
class
interface
enum
//unit test using Karma and jasmine
ng test
//e2e test using protractor
ng serve
ng e2e
// build dev
ng build
//build prod (minimized, treeshacked and precompiled)
ng build --prod
ng help
https://cli.angular.io/
@webdave_de
By David Muellerchen
David Muellerchen is a trainer at AngularJS.DE. He loves to speak and teach at meetups and conferences. During leisure time he jumps through the parks with his kids or rides his racer. He a