Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 870 Bytes

Readme.md

File metadata and controls

28 lines (17 loc) · 870 Bytes

Static Website

This is a Static Website example in combination with an API. The ./static page is using htmx to dynamically fetch an HTML snippet with value dervied from a Counter. Since Website and API are served via different domains, the API is CORS enabled.

diagram

Prerequisite

Please make sure to use a current and working setup of the wing cli

Usage

Wing Console

wing it

Get the URL from the Website and open it in the browser.

console browser

Wing Tests

wing test --debug  main.w