Krys4lide/README.md

1.2 KiB

Krys4lide

Logiciel de pharmacie

Development

Prerequisites

Setup

cargo install cargo-watch
cargo install tauri-cli --version "^2.0.0-beta"

Run

Run the TailwindCSS watcher

To watch for changes in the CSS & HTML files and update the style.css file accordingly, run the following command:

tailwindcss -i ./templates/assets/css/input.css -o ./assets/css/style.css --watch

Run the application - in Tauri

cargo tauri dev

Run the application - in the browser

cargo watch -x run

Production

Build - in Tauri

  • [] TODO : Fix the assets missing in the final build
tailwindcss -i ./templates/assets/css/input.css -o ./assets/css/style.css --minify
cargo tauri build

Build - in the browser

tailwindcss -i ./templates/assets/css/input.css -o ./assets/css/style.css --minify
cargo build --release