내용으로 건너뛰기
GaramX
사용자 도구
로그인
사이트 도구
검색
도구
문서 보기
이전 판
역링크
최근 바뀜
미디어 관리자
사이트맵
로그인
>
최근 바뀜
미디어 관리자
사이트맵
현재 위치:
home
»
study
»
angular
추적:
study:angular
이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요.
===== Angular ===== AngularJS와는 구분되어지며, AJAX, SPA(Single Page Application) MVC시대를 거처 Web Component로 대변되는 FrontEnd Framework의 일종임. [[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 CLI Install <code bash> npm install -g @angular/cli </code> - create new a new Angular Project <code bash> ng new my-app --style=scss --prefix pp ng new my-app --style=css </code> - Serve the application <code bash> cd my-app ng serve --open </code> - Edit your first Angular component <code bash>The CLI created the first Angular component for you. This is the root component and it is named app-root. You can find it in ./src/app/app.component.ts. Open the component file and change the title property from 'app' to 'My First Angular App!'. </code> ==== Angular CLI ==== generates an NgModule. <code bash> 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> ==== support IE9-11 ==== IE를 지원하려면, "polyfills.ts", "browerslist"를 수정해야한다.(default로 지원 안함으로 되어있음)
study/angular.txt
· 마지막으로 수정됨: 2025/04/15 10:05 저자
127.0.0.1
문서 도구
문서 보기
이전 판
역링크
맨 위로