Thursday, May 5, 2016

AngularJS2.0 사용 위한 환경 설정 및 프로젝트 생성

타입스크립트 설치
npm installl -g typescript

인텔리J 설정



angularjs2.0 프로젝트를 생성하기 위해서는
아래의 방법대로 직접 파일을 생성해주거나


github에 있는 angularjs2.0 프로젝트를
다운 받아서 사용해야 되는 거 같다.


app디렉토리, index.html,
package.json, tsconfig.json,
typings.json 모두 직접 생성



app 디렉토리 밑에도 위와 같이
app.component.js, main.js 직접 생성

npm install 한 후

npm start 하면 화면 뜬다

No comments:

Post a Comment