reflex export: get_app
before setup_frontend
(#1286)
This commit is contained in:
parent
6b54b2500c
commit
51452a6e5a
@ -228,8 +228,10 @@ def export(
|
||||
console.rule("[bold]Compiling production app and preparing for export.")
|
||||
|
||||
if frontend:
|
||||
build.setup_frontend(Path.cwd())
|
||||
# ensure module can be imported and app.compile() is called
|
||||
prerequisites.get_app()
|
||||
# set up .web directory and install frontend dependencies
|
||||
build.setup_frontend(Path.cwd())
|
||||
|
||||
build.export_app(
|
||||
backend=backend,
|
||||
|
Loading…
Reference in New Issue
Block a user