This is a basic setup for sveltekit and wails.
It has some issues such as not finding $app. I don't know how to fix these so feel free to commit improvements.
I do not plan to actively work on this template.
IF you have fixed something, submit a PR and I will merge it.
By default, this setup uses PNPM
. If you rather use just NPM or someother JS package manager:
npm install
, npm run build
, and npm run dev
instead.pnpm-lock.yaml
wails dev
to force the package manager againTo 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:5173 . Connect
to this in your browser, and you can call your Go code from devtools.
To build a redistributable, production mode package, use wails build
.