반응형
0. Window 또는 MacOS에 Node.js가 기본적으로 설치 되어 있어야 함.
1. Angular 설치
$ npm install -g @angular/cli@latest
- 위 명령어를 사용시 최신 버전으로 설치함.
2. 프로젝트 생성
$ ng new ProjectName
- ProjectName은 원하는 이름으로 작성
3. Rounting 선택
? Would you like to add Angular routing? Yes or No
- 응용프로그램의 다른 페이지로 이동하는 기능 제공
4. CSS 선택 (원하는 타입으로 선택)
? Which stylesheet format would you like to use?
❯ CSS
SCSS [ https://sass-lang.com/documentation/syntax#scss ]
Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]
Less [ http://lesscss.org
5. 프로젝트 진입 및 VS Code(사전 설치 필요) 실행
% cd ProjectName
% code .
반응형