Skip to content

Web page based on source code (go, html, css) taken from the wails helloworld app

License

Notifications You must be signed in to change notification settings

tataDan/wails-to-wasm-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wails-to-wasm-app

This repository is designed to make a web page available that is uses source code that is based on source code (go, html, css) from the Hello World tutorial and that uses webAssembly(wasm) technology. It is based on an approach outlined in this tutorial and it's subsequent tutorial. The source used can be found in (this repository)[https://github.com/tataDan/wails-to-wasm/].

Steps taken to create this repository and web page

I copied all the files from the frontend directory from the (above mentioned repository)[https://github.com/tataDan/wails-to-wasm/]. Note: I copied the files contained in that directory not the directory itself.

I changed this line in the index.html file

<img id="logo" class="logo" src="../assets/images/logo-universal.png">

to <img id="logo" class="logo" src="assets/images/logo-universal.png">.

This was necessary because in the original source code the index.html file is in the frontend directory, but that is not the case here. (Note: I could have chosen to have all the files in the project level directory of the original source code instead of in the frontend directory).

I then went to Settings/Pages and chose main for the branch. After a short period of time, (this site)[https://tatadan.github.io/wails-to-wasm-app/] was created.

Closing thought

I chose to use GitHub Pages because it was quick and easy. In many cases using a web hosting site or deploying the site using a private web server would be more appropriate.

About

Web page based on source code (go, html, css) taken from the wails helloworld app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published