我在控制台上看到此警告消息.我正在使用新的angular 2路由器.我错过了什么或者我必须做些什么来修复这个警告?
'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.
Run Code Online (Sandbox Code Playgroud)
Kei*_*ebe 10
升级到路由器3 beta 2删除了警告
| 归档时间: |
|
| 查看次数: |
1402 次 |
| 最近记录: |