Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (23 loc) · 969 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 969 Bytes

Angular Seed TypeScript

This is based on https://github.com/angular/angular-seed. If you are curious about how the conversion of the JS project was done to the TS project checkout CONVERSION.md.

Running

The following are specific to TypeScript

Setup TypeScript:

npm install typescript -g
npm install tsd -g

Start the TypeScript compiler in watch mode (either in the app folder or in the e2e-tests folder) and leave it running:

# For app
tsc --watch --p app
# For e2e-tests
tsc --watch --p e2e-tests

That's it. You have typescript setup and ready to go. Now you can follow the standard steps of the original Angular-Seed JavaScript project in a new window using README-JS starting at the install dependencies section.

TIP: Abriged the remaining JS steps for a quick start:

npm install
npm start

and visit : http://localhost:8000/app/