Fix missing lazy imports (#2187)
This commit is contained in:
parent
ddb1f8133b
commit
f1005e774e
@ -62,6 +62,9 @@ _ALL_COMPONENTS = [
|
|||||||
"Container",
|
"Container",
|
||||||
"DataTable",
|
"DataTable",
|
||||||
"DataEditor",
|
"DataEditor",
|
||||||
|
"DataEditorTheme",
|
||||||
|
"DatePicker",
|
||||||
|
"DateTimePicker",
|
||||||
"DebounceInput",
|
"DebounceInput",
|
||||||
"Divider",
|
"Divider",
|
||||||
"Drawer",
|
"Drawer",
|
||||||
@ -227,6 +230,7 @@ _ALL_COMPONENTS = [
|
|||||||
_ALL_COMPONENTS += [to_snake_case(component) for component in _ALL_COMPONENTS]
|
_ALL_COMPONENTS += [to_snake_case(component) for component in _ALL_COMPONENTS]
|
||||||
_ALL_COMPONENTS += [
|
_ALL_COMPONENTS += [
|
||||||
"components",
|
"components",
|
||||||
|
"color_mode_cond",
|
||||||
"desktop_only",
|
"desktop_only",
|
||||||
"mobile_only",
|
"mobile_only",
|
||||||
"tablet_only",
|
"tablet_only",
|
||||||
@ -234,7 +238,9 @@ _ALL_COMPONENTS += [
|
|||||||
"tablet_and_desktop",
|
"tablet_and_desktop",
|
||||||
"selected_files",
|
"selected_files",
|
||||||
"clear_selected_files",
|
"clear_selected_files",
|
||||||
|
"EditorButtonList",
|
||||||
"EditorOptions",
|
"EditorOptions",
|
||||||
|
"NoSSRComponent",
|
||||||
]
|
]
|
||||||
|
|
||||||
_MAPPING = {
|
_MAPPING = {
|
||||||
|
@ -214,6 +214,9 @@ def setup_frontend(
|
|||||||
root: The root path of the project.
|
root: The root path of the project.
|
||||||
disable_telemetry: Whether to disable the Next telemetry.
|
disable_telemetry: Whether to disable the Next telemetry.
|
||||||
"""
|
"""
|
||||||
|
# Create the assets dir if it doesn't exist.
|
||||||
|
path_ops.mkdir(constants.Dirs.APP_ASSETS)
|
||||||
|
|
||||||
# Copy asset files to public folder.
|
# Copy asset files to public folder.
|
||||||
path_ops.cp(
|
path_ops.cp(
|
||||||
src=str(root / constants.Dirs.APP_ASSETS),
|
src=str(root / constants.Dirs.APP_ASSETS),
|
||||||
|
Loading…
Reference in New Issue
Block a user