如何在 angular 2 中添加具有验证支持的 bootstrap 表单?

How to add bootstrap forms in angular 2 with validation support?

我尝试创建如下所示的表格 link:

https://angular.io/docs/ts/latest/guide/forms.html

以上link请看bootstrap话题下。

我已经按照下面的代码示例导入了表格

   import { bootstrap } from '@angular/platform-browser-dynamic';
   import { disableDeprecatedForms, provideForms } from '@angular/forms';

   bootstrap(AppComponent, [
   disableDeprecatedForms(),
   provideForms()
   ])

但是网页在导入表单时在页面中抛出 404 发现问题。

 http://localhost:3000/node_modules/@angular/platform-browser-dynamic/platform-browser-dynamic.umd.js 

 Failed to load resource: the server responded with a status of 404 (Not Found)

  http://localhost:3000/node_modules/@angular/forms/forms.umd.js Failed to    load resource: the server responded with a status of 404 (Not Found)

我正在使用 angular 1.0.0 rc.1 更新。你能否请任何人建议使用这些新表格,bootstrap 与我当前的版本一起使用,因为升级到另一个版本可能会对我的应用程序进行更多更改。

我检查了更多。但唯一的解决方案是更新到 RC4 版本,因为表单支持仅从 rc2 提供。所以我升级了我的应用程序 谢谢