目录

NOTE: This repo is no longer updated. Please refere to the Angular2 Quick Start guide at: https://angular.io/docs/ts/latest/quickstart.html for a Angular2 + TypeScript sample.

install:

npm install

Note: This demo uses SystemJS and es6-module-loader to transpile typescript files in the browser. It also uses a pre-release drop of TypeScript 1.5.2 from mhegazy/typescript#v1.5-beta2

run:

  • install http-server package via
    npm install -g http-server 
  • run server (if port 8080 it taken, pick any port that is free)
    http-server -p 8080

install typings (required for design time typechecking in editors)

npm install tsd -g
tsd reinstall
tsd rebundle

update Visual Studio:

Install TypeScript 1.5 or later releases:

update Sublime Text:

If you are using Package Control for Sublime Text, simply install the TypeScript package.

Alternatively, you can clone the repo directly.

邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号