A desktop application template built with Tauri and Next.js, combining Rust's performance with React's flexibility.
-
cargo install cargo-generate
cargo generate nanlong/tauri-nextjs-templateYou will be prompted to enter:
- Project name: The name of your application
- Window title: The title shown in the application window
- Project description: A brief description of your project
- Set up pre-commit hooks:
# Install pre-commit
pip install pre-commit
# Install required cargo tools
cargo install cargo-nextest typos-cli git-cliff
# Install the pre-commit hooks at the root of the project
pre-commit install- Install dependencies:
npm install- Start development server:
npm run tauri devBuild the application:
npm run tauri buildThis project is licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT License (LICENSE-MIT)
at your option.