Function perseus::export::export_app [−][src]
pub async fn export_app(
templates: &TemplateMap<SsrNode>,
html_shell_path: &str,
locales: &Locales,
root_id: &str,
immutable_store: &ImmutableStore,
translations_manager: &impl TranslationsManager,
path_prefix: String
) -> Result<(), ServerError>
Expand description
Exports your app to static files, which can be served from anywhere, without needing a server. This assumes that the app has already
been built, and that no templates are using non-static features (which can be ensured by passing true
as the last parameter to
build_app
).