This template should help get you started developing with Tauri, React, Typescript and Tailwind CSS (w/ shadcn/ui) in Vite.
The architecture is based on practices suggested by @alan2207 in his bulletproof-react.
In addition, this template configures ESLint, Prettier, Husky, and Lint-staged for pre-commits.
Ensure that you have the Tauri prerequisites installed.
pnpm install
pnpm run tauri dev
A basic Tauri setup with Vite, React, Typescript.
A basic Tailwind CSS setup. Includes a components.json
for Shadcn UI components.
A new Eslint 9 setup with flat config. This will help you to keep your code clean and consistent.
A basic Prettier setup to keep your code formatted.
Pre-commit hooks to run Eslint and Prettier on staged files.
Shadcn UI is awesome, but have a look at these UI components to make your app stand out: