st-library
v4.1.4
Published
```bash npm install st-library ``` ## 2. Add the library to your application module **File:** _app.module.ts_ ```typescript import { AlertsModule } from 'st-library';
Keywords
Readme
Installation
1. Install the npm package
npm install st-library2. Add the library to your application module
File: app.module.ts
import { AlertsModule } from 'st-library';
@NgModule({
imports: [
BrowserModule,
...
AlertsModule // <--------- Here
]
})
export class AppModule { }3. Add the library styles to your application
File: angular.json
"styles": [
"src/styles.css",
"./node_modules/st-library/styles.scss" // <--------- Add in the build and also the serve
]