Fix Create Modal form using DaisyUI

This commit is contained in:
2025-02-01 21:34:39 +01:00
parent 045b0f5ec0
commit e4415c9929
2 changed files with 66 additions and 71 deletions

View File

@@ -1,3 +1,6 @@
# Intro
### Some things to do before the good things can happen
Install Diesel and Watchexec:
```
sudo pacman -S diesel-cli watchexec
@@ -5,6 +8,11 @@ sudo pacman -S diesel-cli watchexec
Absolutely use pnpm as packet manager for this project.
First initialize the Database:
```
diesel setup
```
To run the Tailwind Compiler in watch:
```
pnpm dlx @tailwindcss/cli -i styles/tailwind.css -o assets/generated/main.css --watch
@@ -14,5 +22,6 @@ or (with or without `--watch`)
pnpm compile
```
### How to Dev like a pro
My suggestion is to open one terminal and run `pnpm devrun` to continously rebuild
the Tailwind css and restart/rebuild the Rust server if a template file change.