Add liveview support to the CLI and make fullstack runnable from dist (#2759)
* add liveview cli support * Fix TUI fullstack deadlock * look for fullstack assets in the public directory * Fix fullstack with the CLI * Fix static generation server
This commit is contained in:
1 parent
9dbdf74a1e
commit
e5e578d27b
14 files changed
+428
-272
No files matched your search
@@ -70,6 +70,8 @@ pub async fn generate_static_site(
|
||||
.map(|c| c.application.out_dir.clone())
|
||||
.unwrap_or("./dist".into());
|
||||
|
||||
let assets_path = assets_path.join("public");
|
||||
|
||||
copy_static_files(&assets_path, &config.output_dir)?;
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in new issue
Block a user