Skip to content

winglang/example-static-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published