Skip to content

Simple example of how to load components and pipes with Ionic 3

Notifications You must be signed in to change notification settings

benfoley/ionic3-components-pipes-modules

Repository files navigation

Example Ionic project of how to use components.module.ts and pipes.modules.ts modules to load custom components and pipes.

See /src/components/components.modules.ts for method of loading a custom component.

That ComponentsModule class gets imported in the src/app/app.module.ts file, as well as any modules that will use the component, for example our /src/pages/home.module.ts file.

Likewise for pipes.

Note that if the custom components use ionic magic things like ion-icon, the component needs to be imported with IonicModule.forRoot(Word). See components.module.ts for how to do this.

About

Simple example of how to load components and pipes with Ionic 3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published