|
@@ -53,6 +53,7 @@ def run(*,
|
|
|
uvicorn_reload_includes: str = '*.py',
|
|
|
uvicorn_reload_excludes: str = '.*, .py[cod], .sw.*, ~*',
|
|
|
tailwind: bool = True,
|
|
|
+ prod_js: bool = True,
|
|
|
endpoint_documentation: Literal['none', 'internal', 'page', 'all'] = 'none',
|
|
|
storage_secret: Optional[str] = None,
|
|
|
**kwargs: Any,
|
|
@@ -80,6 +81,7 @@ def run(*,
|
|
|
:param uvicorn_reload_includes: string with comma-separated list of glob-patterns which trigger reload on modification (default: `'.py'`)
|
|
|
:param uvicorn_reload_excludes: string with comma-separated list of glob-patterns which should be ignored for reload (default: `'.*, .py[cod], .sw.*, ~*'`)
|
|
|
:param tailwind: whether to use Tailwind (experimental, default: `True`)
|
|
|
+ :param prod_js: whether to use the production version of Vue and Quasar dependencies (default: `True`)
|
|
|
:param endpoint_documentation: control what endpoints appear in the autogenerated OpenAPI docs (default: 'none', options: 'none', 'internal', 'page', 'all')
|
|
|
:param storage_secret: secret key for browser based storage (default: `None`, a value is required to enable ui.storage.individual and ui.storage.browser)
|
|
|
:param kwargs: additional keyword arguments are passed to `uvicorn.run`
|
|
@@ -93,6 +95,7 @@ def run(*,
|
|
|
globals.language = language
|
|
|
globals.binding_refresh_interval = binding_refresh_interval
|
|
|
globals.tailwind = tailwind
|
|
|
+ globals.prod_js = prod_js
|
|
|
globals.endpoint_documentation = endpoint_documentation
|
|
|
|
|
|
for route in globals.app.routes:
|