How to use
- Download latest Swift Wasm Development snapshot from this page. Match it with the one that you find in
.vscode/setings/json - Open it in VSCode with Swift extension installed.
- Open
Sources/LightWebApp.swiftand hitCmd + Sin order to make it build - Make sure it builds successfully
- Make sure
python3is installed (which python3should give you a path to it) - Go to
Run and Debugtab (Shift + Cmd + D) and runRun hosting (LightWebApp) - Open
http://127.0.0.1:8000/in the browser and check that it showsEmbedded Swift Appin the center of the page and printsHello worldin the console