https://github.com/lachee/wails-template-sveltekit
Template for Wails and Sveltekit.
https://github.com/lachee/wails-template-sveltekit
Last synced: about 2 months ago
JSON representation
Template for Wails and Sveltekit.
- Host: GitHub
- URL: https://github.com/lachee/wails-template-sveltekit
- Owner: Lachee
- Created: 2023-06-25T03:55:30.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-25T04:38:39.000Z (almost 3 years ago)
- Last Synced: 2025-01-25T09:11:51.881Z (over 1 year ago)
- Language: Svelte
- Size: 175 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
## About
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.
## Maintenance
I **do not** plan to actively work on this template.
IF you have fixed something, submit a PR and I will merge it.
## Package Management
By default, this setup uses `PNPM`. If you rather use just NPM or someother JS package manager:
1. Update wails.json to use `npm install`, `npm run build`, and `npm run dev` instead.
2. Delete `pnpm-lock.yaml`
3. run `wails dev` to force the package manager again
## 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:5173 . 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`.