ng2 boilerplate

Utilizes

  • Angular 2
  • VCL
  • webpack 2.1
  • webpack dev server 2.1
  • ng-vcl
  • tslint

Installation

npm install

Development

npm run dev

Building

npm run build

An aot (ahead of time / precompiled templates) enabled build can be created with

npm run build:aot

This might not work with some dependencies.

IDE Configuration

Vistual Studio Code

Extensions

  • tslint
  • EditorConfig for VS Code

Typescript

This projects uses the Typescript 2 RC. Install via npm

npm install -g typescript@rc

and point to the sdk in your user or workspace settings

{
  ...
  "typescript.tsdk": "/path/to/global/.npm-packages/lib/node_modules/typescript/lib",
  ... 
}