사용자 도구

사이트 도구


study:angular

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
study:angular [2018/09/10 02:21] – [Angular Module] taekgustudy:angular [2025/04/15 10:05] (현재) – 바깥 편집 127.0.0.1
줄 6: 줄 6:
 [[https://angular.io|Angular.io]] [[https://angular.io|Angular.io]]
  
 +[[https://mazdik.github.io|Mazdik - 러시아]]
 +
 +[[angular:home|Angular Home]]
 +[[angular:hangul|한글입력문제]]
 +
 +==== 시작하기 ====
 +<code bash>
 +C:\>echo "Angular 시작하기"
 +"Angular 시작하기"
 +
 +C:\>explorer https://nodejs.org
 +
 +C:\>explorer https://www.visualstudio.com
 +
 +C:\>explorer https://angular.io
 +
 +C:\>explorer https://cli.angular.io
 +
 +C:\>node -v
 +v8.11.4
 +
 +C:\>npm -v
 +6.4.1
 +
 +C:\>code -v
 +1.30.2
 +61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8
 +x64
 +
 +C:\>ng version
 +
 +                          _                 ____ _     ___
 +    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
 +   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 +  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 + /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
 +                |___/
 +
 +
 +Angular CLI: 7.1.4
 +Node: 8.11.4
 +OS: win32 x64
 +Angular:
 +...
 +
 +Package                      Version
 +------------------------------------------------------
 +@angular-devkit/architect    0.11.4
 +@angular-devkit/core         7.1.4
 +@angular-devkit/schematics   7.1.4
 +@schematics/angular          7.1.4
 +@schematics/update           0.11.4
 +rxjs                         6.3.3
 +typescript                   3.1.6
 +
 +
 +C:\>
 +</code>
 ==== Angular 설치 [대표되는 Command] ==== ==== Angular 설치 [대표되는 Command] ====
   - Angular CLI Install <code bash>   - Angular CLI Install <code bash>
줄 11: 줄 69:
 </code> </code>
   - create new a new Angular Project <code bash>   - create new a new Angular Project <code bash>
-ng new my-app+ng new my-app --style=scss --prefix pp 
 +ng new my-app --style=css
 </code> </code>
   - Serve the application <code bash>   - Serve the application <code bash>
줄 22: 줄 81:
 </code> </code>
  
-==== Angular Module ====+==== Angular CLI ====
 generates an NgModule. generates an NgModule.
 <code bash> <code bash>
 ng generate module [name] ng generate module [name]
 +ng g m [name]
 +</code>
 +
 +generates a component.
 +<code bash>
 +ng generate component [name]
 +ng g c [name]
 +ng g c example/parent --module app.module
 </code> </code>
  
 +==== support IE9-11 ====
 +IE를 지원하려면, "polyfills.ts", "browerslist"를 수정해야한다.(default로 지원 안함으로 되어있음)
study/angular.1536546105.txt.gz · 마지막으로 수정됨: 2025/04/15 10:05 (바깥 편집)