【文件属性】:
文件名称:angular2-hello-world:裸露的Angular 2 Hello World体验
文件大小:326KB
文件格式:ZIP
更新时间:2021-05-20 12:20:26
JavaScript
Angular2你好世界
一个简单的Angular 2 Hello World示例,可帮助您从TypeScript中的Angular.io快速入门入手
注意: Angular 2.0仍在Alpha Preview中!
如何开始
克隆存储库
git clone https://github.com/monfa-red/angular2-hello-world.git
cd angular2-hello-world
运行TypeScript编译器
npm i -g typescript # Install typescript if you haven't already
tsc --watch -m commonjs -t es5 --emitDecoratorMetadata main.ts
在本地HTTP服务器上打开它!
npm install -g http-serv
【文件预览】:
angular2-hello-world-master
----index.html(364B)
----LICENSE(1KB)
----main.ts(401B)
----.gitignore(287B)
----typings()
--------es6-promise()
--------angular2()
--------rx()
----lib()
--------system.src.js(72KB)
--------system.js(25KB)
--------es6-module-loader.js(30KB)
--------es6-module-loader.js.map(41KB)
--------angular2.dev.js(1.09MB)
--------init.js(144B)
--------system.js.map(36KB)
--------traceur-runtime.js(104KB)
--------es6-module-loader.src.js(80KB)
----README.md(731B)