The extending component will not see the router. We need to make it public: @Component({...}) class App { constructor(public router: Router) {
確定! 回上一頁