tauri-tanstack-start-react-template
A Tauri 2.0 + TanStack Start React template, with TailwindCSS, opinionated linting, and GitHub Actions preconfigured
File Explorer
Download Latest Version (.zip)- dependabot-automerge.yml
- frontend-lint.yml
- frontend-test.yml
- rust-lint.yml
- rust-test.yml
- dependabot.yml
- favicon.ico
- file.svg
- globe.svg
- logo192.png
- logo512.png
- manifest.json
- robots.txt
- tanstack-word-logo-white.svg
- tanstack.svg
- tauri-tanstack-start-react-template-screenshot-01.png
- window.svg
- RoundedButton.test.tsx
- RoundedButton.tsx
- __root.tsx
- index.tsx
- router.tsx
- routeTree.gen.ts
- styles.css
- default.json
- 128x128.png
- 128x128@2x.png
- 32x32.png
- icon.icns
- icon.ico
- icon.png
- Square107x107Logo.png
- Square142x142Logo.png
- Square150x150Logo.png
- Square284x284Logo.png
- Square30x30Logo.png
- Square310x310Logo.png
- Square44x44Logo.png
- Square71x71Logo.png
- Square89x89Logo.png
- StoreLogo.png
- lib.rs
- main.rs
- .gitignore
- .rustfmt.toml
- build.rs
- Cargo.lock
- Cargo.toml
- tauri.conf.json
- .cta.json
- .gitignore
- .node-version
- biome.json
- LICENSE
- package.json
- pnpm-lock.yaml
- README.md
- tsconfig.json
- tsconfig.node.json
- vite.config.ts
- vitest.config.ts
- vitest.setup.ts
# Installation Guide
1. Get the code
git clone https://github.com/kvnxiao/tauri-tanstack-start-react-template
Downloads the entire project code from GitHub to your computer.
cd tauri-tanstack-start-react-template
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
pnpm tauri dev
Type this command into your terminal and run it.
pnpm tauri build
Type this command into your terminal and run it.
pnpm test
Type this command into your terminal and run it.
USE_SSR_PRERENDER_MODE=true pnpm tauri build
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
3. Rust
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cd src-tauri
This project's files live in a subfolder, so move into it first.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
