fix: use tailwindcss cli
This commit is contained in:
@@ -48,6 +48,21 @@ pre-commit run ruff-format --files myice/webapi.py
|
||||
pre-commit run mypy --files myice/myice.py
|
||||
```
|
||||
|
||||
### CSS/Frontend Build
|
||||
|
||||
When modifying `index.html` or the Tailwind CSS setup:
|
||||
|
||||
```bash
|
||||
# One-off build of style.css
|
||||
./build-css.sh
|
||||
|
||||
# Watch mode for development
|
||||
./build-css.sh --watch
|
||||
|
||||
# Or manually with the standalone CLI (if already downloaded)
|
||||
./tailwindcss -i ./style-input.css -o ./style.css --minify
|
||||
```
|
||||
|
||||
### Running the Web API
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user