Browse Source

Merge branch 'main' into pytests

Rodja Trappe 2 years ago
parent
commit
03aacc4dca
1 changed files with 1 additions and 2 deletions
  1. 1 2
      nicegui/routes.py

+ 1 - 2
nicegui/routes.py

@@ -66,8 +66,7 @@ def add_dependencies(py_filepath: str, dependencies: List[str] = []) -> None:
     if py_filepath in globals.dependencies:
         return
     globals.dependencies[py_filepath] = dependencies
-    if not dependencies:
-        return
+
     vue_filepath = os.path.splitext(os.path.realpath(py_filepath))[0] + '.js'
 
     for dependency in dependencies: