system-navigator2
v0.0.21
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.1.5.
Downloads
6
Readme
SystemNavigator
This library was generated with Angular CLI version 10.1.5.
Code scaffolding
Run ng generate component component-name --project system-navigator
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project system-navigator
.
Note: Don't forget to add
--project system-navigator
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build system-navigator
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build system-navigator
, go to the dist folder cd dist/system-navigator
and run npm publish
.
Running unit tests
Run ng test system-navigator
to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Usage
- Import
SystemNavigatorModule
in the the module of the component you'd like to use this library
...
import { SystemNavigatorModule } from 'system-navigator';
@NgModule({
declarations: [
...
],
exports: [
...
SystemNavigatorModule,
],
providers: [
HtmlClassService,
],
imports: [
...
SystemNavigatorModule,
]
})
export class ThemeModule {
}
- Add
<lib-system-navigator></lib-system-navigator>
to where you want to use it