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.
Upgrading to router 3 beta 2 removed the warning for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With