javascript - Using angular 2 without typescript compiler -
i'm wanting learn , switch app on angular 2 i'm having problem typescript. problem being i'm not able use it. in current environment can't use use compiler. im having run off of node.exe (node.js executable) not full node.js application executable means can't run npm. angular 2 written in typescript needs compiled javascript before being sent browser. there way can pre-compiled version of angular 2 (so in javascript) can write code in javascript , have run without compiler? if not there way can manually install , use typescript compiler node.exe executable.
to clear isnt because don't want use typescript because in current situation cannot install typescript.
angular2 available in typescript, javascript , dart. no need use typescript.
see
- https://angular.io/docs/js/latest/index.html
- http://blog.thoughtram.io/angular/2015/05/09/writing-angular-2-code-in-es5.html
- http://blog.thoughtram.io/angular/2015/07/06/even-better-es5-code-for-angular-2.html
see is possible use es5 javascript angular 2 instead of typescript?
<script src="https://code.angularjs.org/2.0.0-beta.3/rx.umd.js"></script> <script src="https://code.angularjs.org/2.0.0-beta.3/angular2-polyfills.js"></script> <script src="https://code.angularjs.org/2.0.0-beta.3/angular2-all.umd.dev.js"></script>
Comments
Post a Comment