Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 942 Bytes

README.md

File metadata and controls

31 lines (16 loc) · 942 Bytes

ng conf material cdk demo 2018

This is a partial replication of what was shown during ng-conf 2018 angular cdk talk live coding

ng new demo-app

cd demo-app

npm install --save @angular/material@next @angular/cdk@next

ng add @angular/material

ng generate @angular/material:materialNav --name=main-nav

...


This project was generated with Angular CLI version 6.0.0-rc.4.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.