This repo provides a simple template for building a cross-platform app
using tauri, typescript and
svelte. Stores are provided using
immer (see stores/testStore.ts
).
The repo is not configured to use typescript in .svelte
files. The
suggested approach here is to define the majority of logic in imported
.ts
files. In particular, type-safe logic can be developed in stores
built using the buildImmerActionStore
found in immerActionStore.ts
.
tauri-builder
must be installed.yarn
to install dependencies.yarn dev
to build the app with hot reloading.yarn dev:client
to work on the client app in the browseryarn build
to bundle the app.Refer to the tauri docs for more information on configuring the application.
The tailwind
branch tracks the master branch but with tailwind CSS
integrated. Start from this branch of the template if you want Tailwind
CSS integration.
MIT, contributions welcome.