What I'm Using
- Angular
- Angular Material ^2.0.0-beta.12
What I'm doing
I just started a new project and installed material
When copying some syntax from a previous project, I get an error when trying to import
'import { MdInputModule} from '@angular/material';
- After digging through the typings, it looks as though it's now changed to 'MatInputModule'
- I've updated my module to use 'MatInputModule'
- Now the HTML throws an error
'md-form-field' is not a known element:
- This is using the syntax provided from the material website
HTML
<form [formGroup]="albumEdit">
<md-form-field>
<input mdInput formControlName="albumTitle" placeholder="Album Title">
</md-form-field>
</form>
Questions
- Am I missing something obvious here?
- What's the best way to implement the material components in the latest build?
- Is there some official documentation that I'm missing?