Skip to content

PatrickJS/ng-vegas-angular2-d3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages