Can't bind to 'routerLink' since it isn't a known property

后端 未结 9 872
别那么骄傲
别那么骄傲 2020-12-12 14:16

Recently, I have started playing with angular 2. It\'s awesome so far. So, i have started a demo personal project for the sake of learning using angular-cli. <

9条回答
  •  無奈伤痛
    2020-12-12 14:58

    You need to add RouterMoudle into imports sections of the module containing the Header component

提交回复
热议问题