From f75d5f2808451e2454689a3d79607074f5ab234e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Brand=C3=A9ho?= Date: Thu, 21 Dec 2023 19:43:11 +0100 Subject: [PATCH] fix tailwind for stateful components imported from utils (#2328) --- reflex/constants/style.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/constants/style.py b/reflex/constants/style.py index 00a5909d0..d0f72995e 100644 --- a/reflex/constants/style.py +++ b/reflex/constants/style.py @@ -17,6 +17,6 @@ class Tailwind(SimpleNamespace): # The Tailwind config. CONFIG = os.path.join(Dirs.WEB, "tailwind.config.js") # Default Tailwind content paths - CONTENT = ["./pages/**/*.{js,ts,jsx,tsx}"] + CONTENT = ["./pages/**/*.{js,ts,jsx,tsx}", "./utils/**/*.{js,ts,jsx,tsx}"] # Relative tailwind style path to root stylesheet in STYLES_DIR. ROOT_STYLE_PATH = "./tailwind.css"