jbarszczewski / pass-gen-tutorial

Rust Tauri Svelte tutorial project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tauri Svelte App Template

This is a project template for Tauri and Svelte apps. It lives at https://github.com/jbarszczewski/tauri-svelte-template.

To create a new project based on this template follow the official guide here: https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template

Get started

Install the dependencies...

yarn

...then start development server:

yarn tauri dev

This will take care of running both frontend and backend of your app with watch attached to both. That means whenever you change soething in src (svelte frontend code) or src-tauri (rust backend code), it will be automatically processed and hot reloaded. To finish dev/debug mode simply close the app window.

Building and running in production mode

To create an optimised version of the app:

yarn tauri build

This will create standalone app and installer in src-tauri/target/release directory.

Useful links

About

Rust Tauri Svelte tutorial project

License:MIT License


Languages

Language:JavaScript 35.3%Language:Svelte 20.6%Language:Rust 18.9%Language:CSS 15.2%Language:HTML 6.8%Language:TypeScript 3.1%