Tauri Sveltekit Template screenshot

Tauri Sveltekit Template

Author Avatar Theme by Probablykasper
Updated: 15 Feb 2024
190 Stars

Tauri + SvelteKit template

Categories

Overview:

The Tauri SvelteKit Template is a GitHub project that offers a development template for creating cross-platform builds using Tauri and SvelteKit. It includes features such as TypeScript support, Sass preprocessing, ESLint, and Prettier for code formatting. The template provides clear dev instructions for getting started, making it easier for developers to set up their projects efficiently.

Features:

  • TauriSvelteKit GitHub action for cross-platform builds
  • TypeScript support
  • Preprocessing with Sass installed by default
  • ESLint for code linting
  • Prettier for code formatting
  • Dev instructions for quick setup

Installation:

To get started with the Tauri SvelteKit Template, follow these steps:

  1. Install Node.js on your system.
  2. Install Rust following the installation guidelines.
  3. Run npm install to install project dependencies.
  4. Find and replace the text tauri-sveltekit-template with your project name.
  5. Use the provided commands:
    • npm run dev to start the app in development mode.
    • npm run build to build the project.
    • npm run lint to lint the code.
    • npm run format to format the code.
  6. Release a new version by updating CHANGELOG.md, bumping the version number in src-tauri/Cargo.toml, running cargo check to update Cargo.lock, creating a git tag, and adding release notes for the GitHub release.

Summary:

The Tauri SvelteKit Template offers a comprehensive solution for developers looking to create cross-platform builds using Tauri and SvelteKit. By providing essential features like TypeScript support, Sass preprocessing, ESLint, and Prettier, along with clear installation and setup instructions, this template streamlines the development process. Developers can quickly get started and manage their projects efficiently with the help of this template.