我有一个Angular应用程序,但是我不理解编译器告诉我的为什么应用程序不能构建。of AppModule, but could not be resolved to an NgModule class.Is it missing an @NgModule annotation?of AppModule, but could
not be resolved to an NgModule class.Is it missing an @NgModule
当我尝试懒惰地导航到第二页时,我得到了Uncaught (in promise): invalid link SecondPage错误。下面是我的代码: this.navCtrl.push('SecondPage');第二个页面是使用in cli生成的离子页面。下面是ts文件的样子。 selector: 'page-second',})
export class SecondPage