Skip to content

Instantly share code, notes, and snippets.

View andersonsantech's full-sized avatar

Anderson Santana andersonsantech

View GitHub Profile
@andersonsantech
andersonsantech / tailwindcss_with_fasthtml.py
Last active September 21, 2024 17:21
Tailwindcss with Fasthtml
from fasthtml.common import *
app, rt = fast_app(
live=True,
pico=False,
hdrs=(
Meta(charset="UTF-8"),
Meta(name="viewport", content="width=device-width, initial-scale=1.0"),
Script(src="https://cdn.tailwindcss.com"),
)