Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hayd1n/wails-sveltekit-ts-template
Wails v2 template with SvelteKit + TS
https://github.com/hayd1n/wails-sveltekit-ts-template
Last synced: 1 day ago
JSON representation
Wails v2 template with SvelteKit + TS
- Host: GitHub
- URL: https://github.com/hayd1n/wails-sveltekit-ts-template
- Owner: hayd1n
- Created: 2024-01-18T14:03:05.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-01-21T19:05:48.000Z (10 months ago)
- Last Synced: 2024-08-15T09:54:28.116Z (3 months ago)
- Language: Svelte
- Homepage:
- Size: 488 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
## About
This is the Wails SvelteKit + TypeScript template.
This template uses [adapter-static(SPA)](https://github.com/sveltejs/kit/tree/master/packages/adapter-static#spa-mode) to make generated files embeddable.## Getting Started
### Installing Wails
https://wails.io/docs/gettingstarted/installation
### Creating a Project
```sh
wails init -n YOUR_PROJECT_NAME -t https://github.com/CRT-HAO/wails-sveltekit-ts-template
````wailsjs` modules is located in `/frontend/src/lib` so that you can call them like `$lib/wailsjs/go/main/App` in svelte files.
## 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`.