Logiciel de pharmacie
Go to file
2024-07-03 20:11:25 +02:00
assets chore: Setup Tauri for build embedded application 2024-07-03 20:11:25 +02:00
src chore: Setup tailwindcss using Standalone CLI 2024-07-03 19:53:32 +02:00
src-tauri chore: Setup Tauri for build embedded application 2024-07-03 20:11:25 +02:00
templates chore: Setup Tauri for build embedded application 2024-07-03 20:11:25 +02:00
.gitignore chore: Setup Tauri for build embedded application 2024-07-03 20:11:25 +02:00
askama.toml chore: Setup tailwindcss using Standalone CLI 2024-07-03 19:53:32 +02:00
Cargo.toml chore: Setup tailwindcss using Standalone CLI 2024-07-03 19:53:32 +02:00
README.md chore: Setup Tauri for build embedded application 2024-07-03 20:11:25 +02:00
tailwind.config.js chore: Setup tailwindcss using Standalone CLI 2024-07-03 19:53:32 +02:00

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