Nefarious Pickle Muncher

    ng-mtc-ui
    TypeScript icon, indicating that this package has built-in type declarations

    1.12.1 • Public • Published

    NgMtcUi

    Conjunto de componentes Angular del MTC

    Instalación

    Ejecutar npm install --save ng-mtc-ui

    Uso

    1. Importar el módulo NgMtcUiModule en AppModule
    import { NgMtcUiModule } from 'ng-mtc-ui';
    
    @NgModule({
      ...
      imports: [
        ...
        NgMtcUiModule
        ...
      ],
      ...
    })
    export class AppModule {
    }
    1. Injectar los valores que usarán los servicios web y rutas
    import { LOGO_URL, NgMtcUiModule, URL_SW } from 'ng-mtc-ui';
    
    @NgModule({
      ...
      providers: [
        {provide: URL_SW, useValue: 'https://172.22.9.74:9201/'},
        {provide: APP_NAME, useValue: 'Bandeja Digital de Interoperabilidad v2.0'}, // Aparece en Footer
        {
          provide: HEADER_DATA,
          useValue: {
            title: 'Bandeja Digital MTC',
            abbr: 'MTC',
            logoPath: 'assets/logomtc.png'
          } as HeaderData
        } // Aparece en Header
      ],
      ...
    })
    export class AppModule {
    }
    1. Importar los estilos
    @import "~ng-mtc-ui/assets/styles";

    Keywords

    none

    Install

    npm i ng-mtc-ui

    DownloadsWeekly Downloads

    3

    Version

    1.12.1

    License

    none

    Unpacked Size

    2.55 MB

    Total Files

    159

    Last publish

    Collaborators

    • eliutimana
    • desarrollo.mtc