Skip to main content

set_tailwind_src

Function set_tailwind_src 

Source
pub fn set_tailwind_src(src: impl Into<String>)
Expand description

Point the admin UI at a different Tailwind/CSS source (e.g. a self-hosted stylesheet you serve yourself) instead of the CDN default. Set once, before serving; the ADMINX_TAILWIND_SRC env var is honoured as a fallback.