Tauri on Bazel with NextJS 14.
feature/tauri-js-rs
README.md
tauri-on-bazel
{fast, correct} + {optimized, secure} = {tauri-on-bazel}
This is a small repository to demonstrate how to build a Tauri v1.5 project using NextJS v14 + Typescript + Tailwindcss as a frontend framework with Bazel v6.

Before running it
This project is using git LFS. After cloning it, remember to run the following commands.
git lfs install
git lfs pull
How to use
To run Tauri in development mode, just run the following:
bazel run //frontend/desktop:dev
To bundle your app, just run:
bazel run //frontend/desktop:bundle
This has been tested successfully on macOS M1.
Storybook
pnpm run storybook
Output
You can retrieve the output app from dist/bin/bundle.sh.runfiles/app/src-tauri/target/release/bundle.
Credits
Original repo.
Without Bazel
Run from pnpm
pnpm tauri dev