如何将 material angular 更改为旧版本?
How to change material angular to old version?
如何将 material angular 更改为我们使用 md
而不是 mat
的上一个旧版本?
现在我有 "@angular/material": '^2.0.0-beta.8'
最新版本,使用的地方md
- 2.0.0-beta.11
.
引自changelog:
For beta.11, we've made the decision to deprecate the "md" prefix
completely and use "mat" moving forward. This affects all class names,
properties, inputs, outputs, and selectors (CSS classes were changed
back in February). The "md" prefixes will be removed in the next beta
release.
要更改版本,请使用以下命令:
npm uninstall --save @angular/material
npm uninstall --save @angular/cdk
npm install --save-exact @angular/material@2.0.0-beta.11
npm install --save-exact @angular/cdk@2.0.0-beta.11
如何将 material angular 更改为我们使用 md
而不是 mat
的上一个旧版本?
现在我有 "@angular/material": '^2.0.0-beta.8'
最新版本,使用的地方md
- 2.0.0-beta.11
.
引自changelog:
For beta.11, we've made the decision to deprecate the "md" prefix completely and use "mat" moving forward. This affects all class names, properties, inputs, outputs, and selectors (CSS classes were changed back in February). The "md" prefixes will be removed in the next beta release.
要更改版本,请使用以下命令:
npm uninstall --save @angular/material
npm uninstall --save @angular/cdk
npm install --save-exact @angular/material@2.0.0-beta.11
npm install --save-exact @angular/cdk@2.0.0-beta.11