/ng2-play

A minimal ES6 project using Angular2.0

Primary LanguageJavaScript

ng2-play

The goal of this repo is to prepare a minimal ("walking skeleton") project build with Angular2.0 and ES6

Install

Clone this repo and execute in your favourite shell:

  • npm i -g gulp to install gulp globally (if you don't have it installed already)
  • npm i to install local npm dependencies

Play

After completing installation type in your favourite shell:

  • gulp play (or npm start) to start a "Hello World" app in a new browser window. App files are observed and will be re-transpiled on each change.

Dependencies

  • ES6 -> ES5 transpilation
    • traceur: ES6 -> ES5 transpilation
  • ES6 modules loading
    • es6-module-loader: ES6 module loader polyfill
    • systemjs: plugins for the ES6 module loader to handle different module formats - this is mostly needed to load module format generated by traceur

Learning materials

Zones / long stack-traces

ES6 module loading