Skip to content

A project template for creating a Tauri app with Vite, React, and Tailwind CSS.

License

Notifications You must be signed in to change notification settings

MrLightful/create-tauri-core

Repository files navigation

Tauri: An Ultimate Project Template

This template should help get you started developing with Tauri, React, Typescript and Tailwind CSS (w/ shadcn/ui) in Vite.

In addition, this template also configures ESLint, Prettier, Husky and Lint-staged for pre-commits.

Demo Screenshot

Getting Started

Basics

Ensure that you have the Tauri prerequisites installed.

Install dependencies

pnpm install

Start the development server

pnpm run tauri dev

What's included

Core

A basic Tauri setup with Vite, React, Typescript.

Tailwind CSS

A basic Tailwind CSS setup. Includes a components.json for Shadcn UI components.

Dev Tools

Eslint 9

A new Eslint 9 setup with flat config. This will help you to keep your code clean and consistent.

Prettier

A basic Prettier setup to keep your code formatted.

Husky + Lint-staged

Pre-commit hooks to run Eslint and Prettier on staged files.

Better Design

Core Shadcn UI is awesome, but have a look at these UI components to make your app even better: