사용자 도구

사이트 도구


study:angular

문서의 이전 판입니다!


Angular

AngularJS와는 구분되어지며, AJAX, SPA(Single Page Application) MVC시대를 거처 Web Component로 대변되는 FrontEnd Framework의 일종임.

Angular.io

Angular 설치 [대표되는 Command]

  1. Angular CLI Install
    npm install -g @angular/cli
  2. create new a new Angular Project
    ng new my-app
  3. Serve the application
    cd my-app
    ng serve --open
  4. Edit your first Angular component
    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!'.

Angular Module

generates an NgModule.

ng generate module [name]
study/angular.1536546105.txt.gz · 마지막으로 수정됨: 2025/04/15 10:05 (바깥 편집)