3.0.0 • Published 4 years ago
web-dev-server-example-helloworld-typescript v3.0.0
Example - Hello World - TypeScript
Hallo world example with static and dynamic content in TypeScript.
Instalation
git clone https://github.com/web-dev-server/example-helloworld-typescript.git example-helloworld-typescript
cd ./example-helloworld-typescript
npm update
npm update --save-dev
tsc
Usage
node build/run-server.js
- open your web browser and enjoy browsing on: - http://127.0.0.1:8000/ - http://127.0.0.1:8000/static-content/ - http://127.0.0.1:8000/build/dynamic-content-javascript/ - http://127.0.0.1:8000/build/dynamic-content-javascript/?something=in&query=string - http://127.0.0.1:8000/build/dynamic-content-javascript/anything-else - http://127.0.0.1:8000/build/dynamic-content-typescript/ - http://127.0.0.1:8000/build/dynamic-content-typescript/?something=in&query=string - http://127.0.0.1:8000/build/dynamic-content-typescript/anything-else