molly-component-library
v0.3.9
Published
Molly is an Angular component library
Maintainers
Readme
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>