0.0.4 • Published 5 years ago

lib-tuandang v0.0.4

Weekly downloads
20
License
-
Repository
github
Last release
5 years ago

LibTuandang

This library was generated with Angular CLI version 7.2.0.

How to install

Run 'npm i lib-tuandang'. \ This lib is built on bootstrap, So you must add this line node_modules/bootstrap/dist/css/bootstrap.min.css into angular.json file as below :

   "architect": {
     "build": {
       ...,
       "styles": [
          "src/styles.scss",
          "node_modules/bootstrap/dist/css/bootstrap.min.css"
        ],
     }
   }

How to use

Import library to project.

    import { import { LibTuandangModule } from 'lib-tuandang';
    @NgModule({
      declarations: [
        AppComponent
      ],
      imports: [
        BrowserModule,
        AppRoutingModule,
        LibTuandangModule
      ],
      providers: [],
      bootstrap: [AppComponent]
    })
    export class AppModule { }

Component and Usage

ComponentInputTypeExample
lib-headerheaderMenusArray{text: 'Home', link: '/home'}, {text: 'View', link: '/view'}, {text: 'Setting', link: '/setting'}, {text: 'Help', link: '/help'}
profilesArray{text: 'Project', link: '/project'}, {text: 'Setting', link: '/setting'}, {text: 'Help', link: '/help'}
logoImageString'assets/image1.png'
avatarImageString'assets/image2.png'
lib-sidebarsidebarMenusArray{text: 'Profile', link: '/profile'}, {text: 'Setting', link: '/setting'}, {text: 'Logout', link: '/logout'}
lib-footer
lib-login

Keywords none

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago