Skip to content

Commit dc936c3

Browse files
authored
export modules for plugins (#6261)
1 parent 270b5a0 commit dc936c3

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

packages/reflex-core/src/reflex_core/plugins/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Reflex Plugin System."""
22

3+
from . import sitemap, tailwind_v3, tailwind_v4
34
from ._screenshot import ScreenshotPlugin as _ScreenshotPlugin
45
from .base import CommonContext, Plugin, PreCompileContext
56
from .sitemap import SitemapPlugin
@@ -14,4 +15,7 @@
1415
"TailwindV3Plugin",
1516
"TailwindV4Plugin",
1617
"_ScreenshotPlugin",
18+
"sitemap",
19+
"tailwind_v3",
20+
"tailwind_v4",
1721
]

reflex/plugins/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Re-export from reflex_core.plugins."""
22

3-
from reflex_core.plugins import *
43
from reflex_core.plugins import (
54
CommonContext,
65
Plugin,
@@ -9,6 +8,9 @@
98
TailwindV3Plugin,
109
TailwindV4Plugin,
1110
_ScreenshotPlugin,
11+
sitemap,
12+
tailwind_v3,
13+
tailwind_v4,
1214
)
1315

1416
__all__ = [
@@ -19,4 +21,7 @@
1921
"TailwindV3Plugin",
2022
"TailwindV4Plugin",
2123
"_ScreenshotPlugin",
24+
"sitemap",
25+
"tailwind_v3",
26+
"tailwind_v4",
2227
]

0 commit comments

Comments
 (0)