core.js:5882 ERROR Error: Found the synthetic property @.disabled. Please include either “BrowserAnimationsModule” or “NoopAnimationsModule” in your application.
写angular项目时遇到这个问题,记下一解决办法
在app.modules.ts里引入
import { FormsModule } from '@angular/forms';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
imports [
……
FormsModule,
BrowserAnimationsModule
]
这样就好了。