Angular Nativescript找不到模块";nativescript/forms“;
我正在学习一个教程,该教程要求从“nativescript angular/forms”导入进行绑定,但我得到一个错误,即 找不到模块“nativescript/forms”或其相应的类型声明。ts(2307)Angular Nativescript找不到模块";nativescript/forms“;,angular,nativescript,angular2-nativescript,Angular,Nativescript,Angular2 Nativescript,我正在学习一个教程,该教程要求从“nativescript angular/forms”导入进行绑定,但我得到一个错误,即 找不到模块“nativescript/forms”或其相应的类型声明。ts(2307) 从'nativescript/forms'导入{NativeScriptFormsModule} 如何解决此问题?自Nativescript 7以来,角度相关模块的导入更新为@Nativescript/Angular。代码的更新版本应如下所示: 从'@nativescript/angul
从'nativescript/forms'导入{NativeScriptFormsModule}代码>
如何解决此问题?自Nativescript 7以来,角度相关模块的导入更新为@Nativescript/Angular
。代码的更新版本应如下所示:
从'@nativescript/angular'导入{NativeScriptFormsModule};