Visitar URL original
typescript-example/README.md at master · cntech/typescript-example · GitHub
Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 544 Bytes

README.md

File metadata and controls

43 lines (27 loc) · 544 Bytes

TypeScript Hello World

Install

$ git clone https://github.com/cntech/typescript-example.git
$ cd typescript-example
$ npm install

Build

$ npm run build

Now you can inspect the resulting JavaScripts.

Run

$ npm run node

Now you see "hello, nxa-world".

Run in Browser

Option #1

Double-click the index.html file.

Option #2

$ npm start

Then visit http://localhost:8080.

Option #3

Visit https://typescript-example.herokuapp.com.