Go to file
KiddoV a87f28ee7e
Update README.md
2022-08-25 14:14:13 -05:00
frontend/src Add files via upload 2022-08-25 13:41:02 -05:00
scripts Add files via upload 2022-08-25 13:41:02 -05:00
README.md Update README.md 2022-08-25 14:14:13 -05:00
app.tmpl.go Add files via upload 2022-08-25 13:41:02 -05:00
go.sum Add files via upload 2022-08-25 13:41:02 -05:00
go.tmpl.mod Add files via upload 2022-08-25 13:41:02 -05:00
main.tmpl.go Add files via upload 2022-08-25 13:41:02 -05:00
template.json set `helpurl` link 2022-08-25 13:48:35 -05:00
wails.tmpl.json Add files via upload 2022-08-25 13:41:02 -05:00

README.md

README

About

This is a super simple wails template with basic web components (HTML, CSS, JS) without any front-end frameworks. You gotta to build everything from scratch. Good luck!

Instruction

  1. Do all the setup/ installation for Wails.
  2. Open command prompt on your desire directory.
  3. $ wails init -n [your-app-name] -t https://github.com/KiddoV/wails-pure-js-template
  4. $ cd ./[your-app-name]
  5. $ wails dev
  6. Keep developing...

Live Development

To run in live development mode, run wails dev in the project directory. In another terminal, go into the frontend directory and run npm run dev. The frontend dev server will run on http://localhost:34115. Connect to this in your browser and connect to your application.

Building

To build a redistributable, production mode package, use wails build.

Or build with UPX for better distribution size: wails build -upx -upxflags="--best --lzma"