can not find module “@angular/material”

前端 未结 7 708
余生分开走
余生分开走 2021-01-31 02:47

I\'m using Angular 2. When I\'m trying to import \"@angular/material\" i\'m getting error for this. I\'m importing packages like:

import {MdDialog} from \"@angul         


        
7条回答
  •  -上瘾入骨i
    2021-01-31 03:16

    Please check Angular Getting started :)

    1. Install Angular Material and Angular CDK
    2. Animations - if you need
    3. Import the component modules

    and enjoy the {{Angular}}

提交回复
热议问题