quentin-ol / ng-vegas-angular2-d3

Angular 2, d3, and TypeScript

Home Page:https://gdi2290.net/ng-vegas-angular2-d3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular 2, d3, and TypeScript

Angular 2.0.0-alpha.27 + d3 + TypeScript 1.5.0-beta

NgVegas Angular2 + d3

Use latest TypeScript compiler

TypeScript 1.5 beta will include everything you need. Until that is released, we use a GitHub reference to the latest alpha.

$ npm install -g typescript@^1.5.0-beta

Start up the compiler

$ tsc -w
message TS6042: Compilation complete. Watching for file changes.

Use a TypeScript-aware editor

We have good experience using these editors:

Load the app

From the directory that contains index.html:

npm install -g serve  # Or sudo npm install -g serve
serve                 # Creates a server at localhost:3000
# In a browser, visit localhost:3000

About

Angular 2, d3, and TypeScript

https://gdi2290.net/ng-vegas-angular2-d3


Languages

Language:JavaScript 99.7%Language:TypeScript 0.1%Language:HTML 0.1%Language:CSS 0.1%