The templating engine for Angular 2.0.
- Install NodeJS
- At the command prompt install Gulp with
npm install -g gulp
- From the repo, install dependencies with
npm install
- At the command prompt, start the development web server with
gulp build watch serve
- Open a browser and navigate to http://localhost:8000/temp/examples/helloworld.html?compile_templates
Note: Without the query string, the sample uses precompiled templates, which you can build with
gulp templates
.
- At the command prompt, install the cli for Karma with
npm install -g karma-cli
- At the command prompt, start karma with
karma start
- Add new tests to the
test
folder. Be sure to give them an extension of.spec.js
.
- Use 2 spaces as tab, see .editorconfig