Rust Backend Setup
Prerequisites
Before setting up the frontend, ensure you have the following installed:
For a comprehensive guide on prerequisites, refer to the Tauri Prerequisites documentation.
Setup Directory
Base Directory
All commands executed below are with respect to the frontend/
directory
Installing Dependencies
-
Navigate to the frontend directory:
-
Install the project dependencies:
For more information on npm commands, see the npm documentation.
Running the Application
To start the Tauri application in development mode, run:
This command will: - Start the Vite development server for the frontend - Compile the Rust backend - Launch the Tauri application window
For more details on Tauri commands, check the Tauri CLI documentation.
First Run
The first run might take longer as it needs to compile the Rust code.