🍱 Añade gestión de recursos estáticos de PageTop
This commit is contained in:
parent
0f9daa7403
commit
7d7920237f
6 changed files with 39 additions and 9 deletions
7
build.rs
Normal file
7
build.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
use pagetop_build::StaticFilesBundle;
|
||||
|
||||
fn main() -> std::io::Result<()> {
|
||||
StaticFilesBundle::from_dir("./static", None)
|
||||
.with_name("assets")
|
||||
.build()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue