0.1.0 • Published 6 years ago
ng-xfinity v0.1.0
import { AppComponent } from './app.component';
// Import your library import { SampleModule } from 'ng-xfinity';
@NgModule({ declarations: AppComponent , imports: [ BrowserModule,
// Specify your library as an import
LibraryModule
], providers: [], bootstrap: AppComponent }) export class AppModule { }Once your library is imported, you can use its components, directives and pipes in your Angular application:
0.1.0
6 years ago