{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.
This project is using git LFS
. After cloning it, remember to run the following commands.
git lfs install
git lfs pull
To run Tauri in development mode, just run the following:
bazel run :dev
To bundle your app, just run:
bazel run :bundle
If you are interested in running or building the front end, only run the following:
bazel run :next-dev
bazel run :next-build
This has been tested successfully on macOS M1.
You can retrieve the output app from dist/bin/bundle.sh.runfiles/app/src-tauri/target/release/bundle
.
Original repo.