molly-component-library
TypeScript icon, indicating that this package has built-in type declarations

0.3.9 • Public • Published

Molly Component Library

How to use the Component Library

Install the npm package

npm i 'molly-component-library'

Add the module as a dependency

Example app.module.ts

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
 
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { MollyModule } from '@molly';
 
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    MollyModule,
    BrowserModule,
    AppRoutingModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Use the components

Example: app.component.html

<mol-flash-card topic="Philosophy" front="What is the meaning of life?" back="42"></mol-flash-card>

Package Sidebar

Install

npm i molly-component-library

Weekly Downloads

2

Version

0.3.9

License

ISC

Unpacked Size

331 kB

Total Files

88

Last publish

Collaborators

  • aalmacin