Files
htmxtailwindtest/README.md

693 B

RSS Notifier

Some things to do before the good things can happen

Install Diesel and Watchexec:

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

or (with or without --watch)

pnpm compile

You need to run the Tailwind compilation before Cargo build.

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.