sparkRouterBuilder function

Builder sparkRouterBuilder(
  1. BuilderOptions options
)

Creates a builder that aggregates all page routes.

This builder collects all generated page handlers and creates the createSparkRouter() and createSparkServer() functions.

Implementation

Builder sparkRouterBuilder(BuilderOptions options) => RouterBuilder();