본문 바로가기

프레임워크/Angular

material 사용하기

* 영어표기가 디폴트, 이하 한글표기

* Angular 기준


참고한 사이트 :

1). https://material.angular.io/

2). https://rottk.tistory.com/entry/Angular-Material

 

0. 필요한 설치

1). npm install @angular/material 
2). npm install @angular/cdk 
3). npm install @angular/animations

4). 설치 후, ng add @angular/material

왠만하면 package.json 에서 버전을 확인 후, https://www.npmjs.com/ 를 참고하여 가장 많이 다운로드 받은걸로 설치하자

 

1. 오류 발생시

https://seo-developer.tistory.com/28

여기에 나름 열심히 풀어서 설명해두었습니다.

 

2. 홈페이지를 참고하여 필요한 모듈을 import 한다.

- 참고사이트 1) 번, 꼭꼭꼭 들어가기.

- 예를들어 Expansion Panel 를 사용한다고 치면. Overview 에서 대강 확인하고.

   원하는 기능이 있으면 Examples 에서 코드를 긁어다가 사용하면 된다.

'프레임워크 > Angular' 카테고리의 다른 글

Protocol, websocket, TCP, HTTP  (0) 2022.10.31
비동기 처리  (0) 2022.10.25
Apex Chart  (0) 2022.09.20
객체지향_1, Class, Object, Instance  (0) 2022.09.20
CreatComponent  (0) 2022.09.16