Function create_rust_app::render_single_page_application
source · pub fn render_single_page_application(route: &str, view: &str) -> Scope
Expand description
‘route’: the route where the SPA should be served from, for example: “/app” ‘view’: the view which renders the SPA, for example: “spa/index.html”