Skip to content

Example of using go, html, and css code from a wails app to create a web app

License

Notifications You must be signed in to change notification settings

tataDan/wails-to-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wails-to-wasm

This repository is designed to create files that can be used in creating a web page based on source code (go, html, css) from the Hello World tutorial. This approach uses webAssembly(wasm) technology. It is based on an approach outlined in this tutorial and it's subsequent tutorial.

Reusing Existing Code

The go code was taken from app.go. The body of the html was taken from frontend/src/main.js. The css was taken from frontend/src/app.css and frontend/src/style.css. The logo-universal.png was taken from frontend/src/assets/images. Some minor modifications were necessary. I tried to leave the original code as a comment when the modifications were made.

Testing

Run the commands found in run.sh.

Go to a browser and enter localhost:9090 in the address window.

Deployment

A example of a deployment method can be found here.

The actual app can be found here.

About

Example of using go, html, and css code from a wails app to create a web app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published