Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
/ ts-quickstart Public archive
forked from rkirov/ng2-ts-hello

Hello world for Angular 2 and TS

Notifications You must be signed in to change notification settings

angular/ts-quickstart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Angular 2 app written in TypeScript

Use latest TypeScript compiler

TypeScript 1.5 beta includes everything you need. Make sure to upgrade, even if you installed TypeScript previously.

$ npm install -g typescript@^1.5.0-beta

Start up the compiler

$ cd ts-quickstart
$ 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

If you want to get up and running immediately, copy the completed sources:

$ cp complete/* .

From the directory that contains index.html:

$ npm install -g http-server  # Or sudo npm install -g http-server
$ http-server                 # Creates a server at localhost:8080
# In a browser, visit localhost:8080/index.html

About

Hello world for Angular 2 and TS

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%