I described a couple of ways of accomplishing this in a blog post, and decided to create this simple project in response to a couple of readers asking for an example of what I meant.
###Running the Application
Note that this is a Node JS application. If you do not wish to use Node, simply point a local Apache instance at the /public directory. (Script loading does not work in raw file system - must use web server of some sort)
- Install Node dependencies - run
npm installin the directory
tsc --module AMD .\public\script\app.ts
- Start Express server - run
- Point your browser at
http://localhost:8001and you're good to go!