Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Component only rendering in app component! No error thrown

$
0
0

@alfredfrancis wrote:

I'm using Ionic 3 I installed ionic2 auto complete component
npm install ionic2-auto-complete --save

added following refferences in app.module.ts

import { AutoCompleteModule } from 'ionic2-auto-complete';

@NgModule({
  declarations: [
    MyApp,
    HomePage,
    TabsPage,
    MyItem
  ],
  imports: [
    BrowserModule,
    AutoCompleteModule,
    FormsModule,
    HttpModule,
    IonicModule.forRoot(MyApp)
  ],
  ...
  ...
})
export class AppModule {}

I added following component in app.html and its displaying fine.
<ion-auto-complete></ion-auto-complete>

but when im trying to add it in any other page its not rendering. No error is thrown. What could be the possible issue ?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>