mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 00:10:47 +08:00
![]() * [assetserver] Add support for HTTP Middlewares * [dev] Disable frontend DevServer if no Assets has been defined and inform user * [dev] Consistent WebSocket behaviour in dev and prod mode for assets handler and middleware In prod mode we can't support WebSockets so make sure the assets handler and middleware never see WebSockets in dev mode. * [templates] Migrate to new AssetServer option * [docs] Add assetserver.Options to the reference |
||
---|---|---|
.. | ||
.gitignore | ||
app.go | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md | ||
wails.json |
README
About
This is the official Wails Vanilla template.
You can configure the project by editing wails.json
. More information about the project settings can be found
here: https://wails.io/docs/reference/project-config
Live Development
To run in live development mode, run wails dev
in the project directory. This will run a Vite development
server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser
and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect
to this in your browser, and you can call your Go code from devtools.
Building
To build a redistributable, production mode package, use wails build
.