tauri-sveltekit-skeleton-template
tauri-sveltekit-skeleton-template copied to clipboard
This repository contains a starter template for building Tauri apps using SvelteKit and the Tailwind CSS framework (Skeleton UI). The template includes a development server, build scripts, and other h...
Tauri SvelteKit Skeleton Template
This repository contains a starter template for building Tauri apps using SvelteKit that powered by Skeleton UI library with Tailwind CSS.
How to use this template
To use this template, run the following command:
npx degit cogscides/tauri-sveltekit-skeleton-template/example <target-directory>
This will clone the template repository and copy the files in the example
directory to a new directory called <target-directory>
.
Prerequisites
Before you can use this template, you will need to install the following dependencies:
Getting started
- Change into the
target-directory
:
cd <target-directory>
- Install the dependencies:
npm install
- Start the development server:
npm run tauri dev
or start dev server for browser
npm run dev
This will start the development server and open a new window. The app will automatically reload whenever you make changes to the source code.
Building for production
To build the app for production, run the following command:
npm run build
This will create a production build of the app in the build
directory.
Further reading
- Tauri documentation
- Tauri documentation - Quick Start with SvelteKit
- Svelte documentation
- SvelteKit documentation
- Skeleton UI library documentation