@iwnow/angular-ui-lib
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

🚀Demo for building angular5 library🚀

Exports an axample of HelloButtonComponent in umd, es5, es2015 (FESM) formats

Build library

npm run build

Install to project

npm i @iwnow/angular-ui-lib 

or

yarn add @iwnow/angular-ui-lib 

Use library

Import HelloButtonModule

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { HelloButtonModule } from '@iwnow/angular-ui-lib';

import { AppComponent } from './app.component';

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, HelloButtonModule],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {}

Use tag in template

<wm-hello-button name="Button works!"></wm-hello-button>

Readme

Keywords

none

Package Sidebar

Install

npm i @iwnow/angular-ui-lib

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • iwnow