Thoughts about Angular CLI

ng new

ng install

ng install ng-bootstrap

ng install ngx-bootstrap

ng install @angular/material 

$ ng install firebase

installing firebase packages...

installing angularfire2 packages...

injecting into project modules...

apiKey:

⇒ authDomain:

⇒ projectId:

configuring the module...

RFsTRuvGYD8QSW8OuGxbk1IgKt

nginstall.firebaseapp.com

321956306172

not only packages

export const environment = {
  production: false,
  firebase:{
    apiKey: "AIzaSyBqEJ9_RFsTRuvGYD8QSW8OuGxbk1IgKtI",
    authDomain: "angularstackblitz.firebaseapp.com",
    databaseURL: "https://angularstackblitz.firebaseio.com",
    projectId: "angularstackblitz",
    storageBucket: "angularstackblitz.appspot.com",
    messagingSenderId: "321956306172"
  }
}
@NgModule({
  imports: [
    BrowserModule,
    AngularFireModule.initializeApp(environment.firebase),
    AngularFireDatabaseModule
  ],
  ...
})

Hans Larsen,

ngEurope, October 2016

We don't have plans for

"ng install" nearest future

Unified Angular Modules Library

Unified installation rules for Angular Packages

.angularcliconfig

Stepan Suvorov

VP Engineering @ Studytube

Thank you for your attention

and

let's make our environment better together!

ng install

By Stepan Suvorov

ng install

a lighting talk on ngEurope to present ng install idea https://www.youtube.com/watch?v=futBmo7AQsI

  • 1,237