Skip to content

gepheum/skir-typescript-example

Repository files navigation

Skir TypeScript example

Example showing how to use skir's TypeScript code generator in a project.

Build and run the example

# Download this repository
git clone https://github.com/gepheum/skir-typescript-example.git

cd skir-typescript-example

# Install all dependencies, which include the skir compiler and the skir
# typescript code generator
npm i

# The build step includes both skir codegen and TypeScript to Javascript
# transpilation
npm run build

# Starts an HTTP server on http://localhost:8787/
npm run server

Call a skir service from the browser

While the server is running, run:

npm run bundle

Open static/index.html in your browser.

About

Example showing how to use Skir's TypeScript code generator in a project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors