@histmobile/coffeeui v0.0.17
Coffeeui
This library was generated with Angular CLI version 8.1.2.
We provide a common UI component for Hanjin CI. This library is available to everyone, but will not be supported outside of our customers.
Prerequisite
You must install Angular package following:
npm i @angular/cdk @angular/flex-layout @angular/material @auth0/angular-jwt ngx-cookie-service -S
And, include the following CSS styles in your style.scss file.
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import '~@angular/material/prebuilt-themes/deeppurple-amber.css';
.basic-container {
padding: 5px;
}
mat-cell:first-child, mat-footer-cell:first-child, mat-header-cell:first-child {
padding-left: 0px !important;
}
mat-label.query_failed {
color: orangered;
}
Installation
Run npm i @histmobile/coffeeui -S
to use the library.
Usage
Include follwing code in app.module.ts fie.
import { CoffeeuiModule } from '@histmobile/coffeeui';
...
imports: [
...
CoffeeuiModule
],
...
If you use login page, you should replace code in app.component.html file.
<ht-login-page></ht-login-page>
Running
Run ng serve
to execute the Angular dev-server.
If localhost does not have an API server, you need to set up a proxy. Please refer to the following link for proxy settings. ng serve --proxy-config ${ProxyConfigFileName}
view proxy setting
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.