Update README.md

main
KiddoV 2022-08-25 13:56:54 -05:00 committed by GitHub
parent dd05793036
commit 9edc3aae12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,15 @@
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](https://wails.io/docs/gettingstarted/installation).
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`
@ -14,3 +23,5 @@ browser and connect to your application.
## Building
To build a redistributable, production mode package, use `wails build`.
Or build with [UPX](https://upx.github.io/) for best result: ``wails build -upx -upxflags="--best --lzma"``