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

    Type Alias SpoolNuxtOptions

    what the module takes

    type SpoolNuxtOptions = {
        spool: string;
        static?: StaticOption;
    }
    Index
    spool: string

    a path, relative to the project, to a module whose default export is a Spool

    static?: StaticOption

    Publishes the static tier into Nitro's public directory (.output/public) when a production build runs: the page runtime, the worker script, the packs and a _headers rule. On by default; false turns it off, and an object sets policy, url or a spool. The build loads the spool module in Node, so its stores must be reachable from the build machine.