Fix missing lazy imports (#2187)
This commit is contained in:
parent
ddb1f8133b
commit
f1005e774e
@ -62,6 +62,9 @@ _ALL_COMPONENTS = [
|
||||
"Container",
|
||||
"DataTable",
|
||||
"DataEditor",
|
||||
"DataEditorTheme",
|
||||
"DatePicker",
|
||||
"DateTimePicker",
|
||||
"DebounceInput",
|
||||
"Divider",
|
||||
"Drawer",
|
||||
@ -227,6 +230,7 @@ _ALL_COMPONENTS = [
|
||||
_ALL_COMPONENTS += [to_snake_case(component) for component in _ALL_COMPONENTS]
|
||||
_ALL_COMPONENTS += [
|
||||
"components",
|
||||
"color_mode_cond",
|
||||
"desktop_only",
|
||||
"mobile_only",
|
||||
"tablet_only",
|
||||
@ -234,7 +238,9 @@ _ALL_COMPONENTS += [
|
||||
"tablet_and_desktop",
|
||||
"selected_files",
|
||||
"clear_selected_files",
|
||||
"EditorButtonList",
|
||||
"EditorOptions",
|
||||
"NoSSRComponent",
|
||||
]
|
||||
|
||||
_MAPPING = {
|
||||
|
@ -214,6 +214,9 @@ def setup_frontend(
|
||||
root: The root path of the project.
|
||||
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.
|
||||
path_ops.cp(
|
||||
src=str(root / constants.Dirs.APP_ASSETS),
|
||||
|
Loading…
Reference in New Issue
Block a user