Constructs a new Single-page Application (SPA) builder.
See Spa
docs for more details.
let app = App::new()
.service(
spa()
.index_file("./examples/assets/spa.html")
.static_resources_mount("/static")
.static_resources_location("./examples/assets")
.finish()
);