- Implement updated Style Guide
- Add new
AlertService (see details below)
Upgrade instructions
- Update the CLI on your workstation:
npm install -g @exlibris/exl-cloudapp-cli@latest
- Update the version of your project's dependency in
package.json:
"dependencies": {
"@exlibris/exl-cloudapp-angular-lib": "^0.2.2",
"@exlibris/exl-cloudapp-base": "^0.2.2",
- Run
npm install or eca start in your app to update the dependency
To use the new alerts
- In
app.module.ts, add the AlertModule:
import { AlertModule } from '@exlibris/exl-cloudapp-angular-lib';
@NgModule({
imports: [
AlertModule,
...
]
- In
app.component.ts, add the <cloudapp-alert> component to the template:
@Component({
selector: 'app-root',
template: '<cloudapp-alert></cloudapp-alert><router-outlet></router-outlet>'
})