ezform2-module

A template for creating reusable ezform2 module for Angular 2 and Ionic 2

Usage no npm install needed!

<script type="module">
  import ezform2Module from 'https://cdn.skypack.dev/ezform2-module';
</script>

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 {}