Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Function spoolReactRouter

    • The React Router integration for the dev server. It serves the worker script and spool's paths from spool, and prints the routes it registered, the ones it left to the network and why. A production response gets spool's envelope and tag from spool.handle, which wraps the React Router request handler; the Vite plugin does not reach server-rendered HTML. The client build also publishes the static tier into its output directory (see static).

      Parameters

      Returns Plugin<any>[]