Angular: Component '****' is not included in a module and will not be available inside a template.

找到报错地方的引用申明的组件信息

检查与之对应的module是否已经声明,若未声明,添加后,报错信息即可解除。若已声明,请继续百度

  

原文地址:https://www.cnblogs.com/donglt-5211/p/9705684.html