0.2.4 • Published 3 years ago
@classycode/ionic-book v0.2.4
ionic-book
Description
This package is an Angular / Ionic library to bring a generic ClassyCode module to multiple projects using npm.
- Angular version: 5.2.11
- Ionic version: 3.9.5
Install
npm i -S @classycode/ionic-book
Usage
Add module to corresponding module in your project (e.g. app.module.ts) with following statements:
import { IonicBookModule, BOOK_TOKEN } from '@classycode/ionic-book';
...
imports: [
...
IonicBookModule.forRoot(),
...
],
providers: [
...
{ provide: BOOK_TOKEN, useValue: BOOK },
...
]