Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deid84/tauri-sveltekit-admin-template
This repository contains a starter template for building Tauri apps using SvelteKit and the Tailwind CSS framework. The template includes a development server, build scripts, and other helpful tools to get started.
https://github.com/deid84/tauri-sveltekit-admin-template
boilerplate project-starter-kit project-template sveltekit tailwindcss tauri
Last synced: 2 months ago
JSON representation
This repository contains a starter template for building Tauri apps using SvelteKit and the Tailwind CSS framework. The template includes a development server, build scripts, and other helpful tools to get started.
- Host: GitHub
- URL: https://github.com/deid84/tauri-sveltekit-admin-template
- Owner: deid84
- Created: 2023-07-05T13:17:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-25T12:31:13.000Z (7 months ago)
- Last Synced: 2024-08-04T00:05:10.193Z (6 months ago)
- Topics: boilerplate, project-starter-kit, project-template, sveltekit, tailwindcss, tauri
- Language: Svelte
- Homepage:
- Size: 827 KB
- Stars: 17
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-tauri - tauri-sveltekit-template - SvelteKit Admin template with cross-platform GitHub action builds, Vite, TypeScript, Svelte Preprocess, hot module replacement, ESLint and Prettier. (Getting Started / Templates)
README
# Tauri SvelteKit Admin Template
This repository contains a starter template for building Tauri apps using SvelteKit with Tailwind CSS.
## How to use this template
To use this template, run the following command:
```
npx degit deid84/tauri-sveltekit-admin-template```
This will clone the template repository and copy the project to a new directory called ``.
## Prerequisites
Before you can use this template, you will need to install the following dependencies:
- [Node.js](https://nodejs.org/)
- [Rust & OS Dev Tools](https://tauri.app/v1/guides/getting-started/prerequisites)All the other dependencies are already in `package.json` so they will be automatically installed during next step.
## Getting started
1. Change into the `target-directory`:
```
cd```
2. Install the dependencies:
```
npm install```
3. 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 guides](https://tauri.app/v1/guides/)
- [Tauri documentation - Quick Start with SvelteKit](https://tauri.app/v1/guides/getting-started/setup/sveltekit)
- [Svelte documentation](https://svelte.dev/docs)
- [SvelteKit documentation](https://kit.svelte.dev)