README
Ezform2 Module Template
This is a template for building Ezform2 application with Angular2/Ionic2 module using TypeScript.
Developing
Develop your module like any other Angular 2 module. Then, run npm run build
to build a local copy.
If you'd like to test this package, run npm install ezform2-module@version
Using your module in an Ionic 2 app
import { NgModule } from '@angular/core';
import { IonicApp, IonicModule } from 'ionic-angular';
import { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';
// Import your module
import { Ezform2Module } from 'ezform2-module';
@NgModule({
declarations: [
MyApp,
HomePage
],
imports: [
IonicModule.forRoot(MyApp),
Ezform2Module // Put your module here
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage
],
providers: []
})
export class AppModule {}