Reputation: 283
I see this warning message on the console. I'm using the new angular 2 router. What am I missing or I have to do to fix this warning?
'DashboardComponent' not found in precompile array.
To ensure all components referred to by the RouterConfig are compiled, you must add 'DashboardComponent' to the 'precompile' array of your application component.
This will be required in a future release of the router.
Upvotes: 2
Views: 1407