Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.24 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.24 KB

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.

Screenshot 0 of Tauri on Bazel with NextJS, TypeScript, and Tailwindcss. Screenshot 1 of Tauri on Bazel with NextJS, TypeScript, and Tailwindcss.

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.

Output

You can retrieve the output app from dist/bin/bundle.sh.runfiles/app/src-tauri/target/release/bundle.

Credits

Original repo.