Skip to content

hayd1n/wails-sveltekit-ts-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

About

This is the Wails SvelteKit + TypeScript template. This template uses adapter-static(SPA) to make generated files embeddable.

Getting Started

Installing Wails

https://wails.io/docs/gettingstarted/installation

Creating a Project

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.

About

Wails v2 template with SvelteKit + TS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published