Skip to content

nanlong/tauri-nextjs-template

Repository files navigation

Tauri + Next.js Project Template

A desktop application template built with Tauri and Next.js, combining Rust's performance with React's flexibility.

Using this template

Prerequisites

Generate a new project

cargo generate nanlong/tauri-nextjs-template

You 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

Development

  1. 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
  1. Install dependencies:
npm install
  1. Start development server:
npm run tauri dev

Building

Build the application:

npm run tauri build

License

This project is licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE)
  • MIT License (LICENSE-MIT)

at your option.

About

Tauri + Next.js Project Template

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published