Angular2的基本安装

时间:2016-08-08 01:55:16

标签: javascript html angular

简单的问题 - 如何在单个HTML文件中安装Angular2 - 不使用Bower,不使用NPM,不使用NuGet,简单脚本文件等?

编辑:

Dieuhd's回答我能够使用以下脚本获得Angular 2.0 -

<script src="https://npmcdn.com/core-js/client/shim.min.js"></script>
<script src="https://npmcdn.com/zone.js@0.6.12?main=browser"></script>
<script src="https://npmcdn.com/reflect-metadata@0.1.3"></script>
<script src="https://npmcdn.com/rxjs@5.0.0-beta.6/bundles/Rx.umd.js"></script>
<script src="https://npmcdn.com/@angular/core/bundles/core.umd.js"></script>
<script src="https://npmcdn.com/@angular/common/bundles/common.umd.js"></script>
<script src="https://npmcdn.com/@angular/compiler/bundles/compiler.umd.js"></script>
<script src="https://npmcdn.com/@angular/platform-browser/bundles/platform-browser.umd.js"></script>
<script src="https://npmcdn.com/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js"></script>

1 个答案:

答案 0 :(得分:0)