一、今天发现Ionic报错了,报错内容如下:
**(1) has a @IonicPage decorator, but it does not have a corresponding "NgModule" at **(2)
在文件(1)中有相应的@IonicPage 装饰器,但是在文件(2)中他没有相应的“NgModule”;
二、具体报错结果是:
三、代码中错误的结果是:
import {CheckListComponent} from "./Check-list";
这里“./Check-list”中C要小写!