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

How Can i register component commonly in project (Ionic 4)

$
0
0

@GhanshyamB1992 wrote:

I have created one component i want to use on all page but when i am register on 2nd page it’s gives error

Error: Type DatePickerControlComponent is part of the declarations of 2 modules: DashboardPageModule and TrackingPageModule! Please consider moving DatePickerControlComponent to a higher module that imports DashboardPageModule and TrackingPageModule. You can also create a new NgModule that exports and includes DatePickerControlComponent then import that NgModule in DashboardPageModule and TrackingPageModule.

how i can register commonly for all page, i had register in app.module but that not working

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70433

Trending Articles



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