Skip to content

Commit 8bfe880

Browse files
committed
update tailwind plugins
1 parent 2fb69b3 commit 8bfe880

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

reflex/plugins/tailwind_v3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Constants(SimpleNamespace):
1717
# The Tailwind config.
1818
CONFIG = "tailwind.config.js"
1919
# Default Tailwind content paths
20-
CONTENT = ["./pages/**/*.{js,ts,jsx,tsx}", "./utils/**/*.{js,ts,jsx,tsx}"]
20+
CONTENT = [f"./{Dirs.PAGES}/**/*.{{js,ts,jsx,tsx}}", "./utils/**/*.{js,ts,jsx,tsx}"]
2121
# Relative tailwind style path to root stylesheet in Dirs.STYLES.
2222
ROOT_STYLE_PATH = "./tailwind.css"
2323

reflex/plugins/tailwind_v4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Constants(SimpleNamespace):
1717
# The Tailwind config.
1818
CONFIG = "tailwind.config.js"
1919
# Default Tailwind content paths
20-
CONTENT = ["./pages/**/*.{js,ts,jsx,tsx}", "./utils/**/*.{js,ts,jsx,tsx}"]
20+
CONTENT = [f"./{Dirs.PAGES}/**/*.{{js,ts,jsx,tsx}}", "./utils/**/*.{js,ts,jsx,tsx}"]
2121
# Relative tailwind style path to root stylesheet in Dirs.STYLES.
2222
ROOT_STYLE_PATH = "./tailwind.css"
2323

0 commit comments

Comments
 (0)