eakoriakin / ionic-selectable

Ionic Selectable is an Ionic versatile and highly customizable component that serves as a replacement to Ionic Select, and allows to search items, including async search, create items, customize the layout with templates and much more. It provides an intuitive API and is easy to set up and use.
MIT License
552 stars 125 forks source link

Trouble with installing the plugin on Ionic 3 Lazy Loading #8

Closed dvspiner closed 6 years ago

dvspiner commented 6 years ago

Hello please help me I would like to know how to add this plugin on my project ionic3 Ionic 3 Lazy Loading thank you. Sory for my bad expression

eakoriakin commented 6 years ago

Hi @durvilchat, import SelectSearchable to each "lazy" page module.

import { LazyPage } from './lazy';
import { SelectSearchableModule } from 'ionic-select-searchable';

@NgModule({
    declarations: [
        LazyPage
    ],
    imports: [
        IonicPageModule.forChild(LazyPage),
        SelectSearchableModule
    ]
})
export class LazyPageModule { }
dvspiner commented 6 years ago

Hi @eakoriakin Thank you very much