[{"data":1,"prerenderedAt":594},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:5zUsbigJxFULit5CtqmS1j_rYNc_k3RdRi-EEPlnUi0":197,"content-page-surround:docs:5zUsbigJxFULit5CtqmS1j_rYNc_k3RdRi-EEPlnUi0":589},[4,25,55,119,184],{"title":5,"id":6,"canonicalKey":7,"locale":8,"draft":9,"icon":10,"sidebar":11,"path":12,"children":13},"Start","content:docs:1.getting-started:.navigation.yml","1","en",false,"lucide:rocket","group","\u002Fdocs\u002Fgetting-started",[14,20],{"title":15,"id":16,"canonicalKey":17,"locale":8,"draft":9,"icon":18,"path":19},"Install Nuxt PDF","content:docs:1.getting-started:2.installation.md","1\u002F2","lucide:download","\u002Fdocs\u002Fgetting-started\u002Finstallation",{"title":21,"id":22,"canonicalKey":23,"locale":8,"draft":9,"icon":10,"path":24},"Render your first PDF","content:docs:1.getting-started:3.quickstart.md","1\u002F3","\u002Fdocs\u002Fgetting-started\u002Fquickstart",{"title":26,"page":9,"canonicalKey":27,"locale":8,"id":28,"draft":9,"icon":29,"sidebar":11,"children":30},"Learn","2","content:docs:2.learn:.navigation.yml","lucide:graduation-cap",[31,37,43,49],{"title":32,"id":33,"canonicalKey":34,"locale":8,"draft":9,"icon":35,"path":36},"Templates and the registry","content:docs:2.learn:1.templates-and-registry.md","2\u002F1","lucide:files","\u002Fdocs\u002Flearn\u002Ftemplates-and-registry",{"title":38,"id":39,"canonicalKey":40,"locale":8,"draft":9,"icon":41,"path":42},"The document tree","content:docs:2.learn:2.document-tree.md","2\u002F2","lucide:component","\u002Fdocs\u002Flearn\u002Fdocument-tree",{"title":44,"id":45,"canonicalKey":46,"locale":8,"draft":9,"icon":47,"path":48},"Styling and layout","content:docs:2.learn:3.styling-and-layout.md","2\u002F3","lucide:ruler","\u002Fdocs\u002Flearn\u002Fstyling-and-layout",{"title":50,"id":51,"canonicalKey":52,"locale":8,"draft":9,"icon":53,"path":54},"Runtime and data loading","content:docs:2.learn:4.runtime-and-data.md","2\u002F4","lucide:server","\u002Fdocs\u002Flearn\u002Fruntime-and-data",{"title":56,"page":9,"canonicalKey":57,"locale":8,"id":58,"draft":9,"icon":59,"sidebar":11,"children":60},"Guides","3","content:docs:3.guides:.navigation.yml","lucide:compass",[61,67,73,79,85,91,97,103,108,114],{"title":62,"id":63,"canonicalKey":64,"locale":8,"draft":9,"icon":65,"path":66},"Build reusable document components","content:docs:3.guides:1.reusable-components.md","3\u002F1","lucide:blocks","\u002Fdocs\u002Fguides\u002Freusable-components",{"title":68,"id":69,"canonicalKey":70,"locale":8,"draft":9,"icon":71,"path":72},"Add images and fonts","content:docs:3.guides:2.images-and-fonts.md","3\u002F2","lucide:image","\u002Fdocs\u002Fguides\u002Fimages-and-fonts",{"title":74,"id":75,"canonicalKey":76,"locale":8,"draft":9,"icon":77,"path":78},"Configure remote images","content:docs:3.guides:3.remote-images.md","3\u002F3","lucide:cloud-download","\u002Fdocs\u002Fguides\u002Fremote-images",{"title":80,"id":81,"canonicalKey":82,"locale":8,"draft":9,"icon":83,"path":84},"Add links, bookmarks, and a table of contents","content:docs:3.guides:4.contents-links-bookmarks.md","3\u002F4","lucide:list-tree","\u002Fdocs\u002Fguides\u002Fcontents-links-bookmarks",{"title":86,"id":87,"canonicalKey":88,"locale":8,"draft":9,"icon":89,"path":90},"Draw SVG graphics","content:docs:3.guides:5.svg-graphics.md","3\u002F5","lucide:shapes","\u002Fdocs\u002Fguides\u002Fsvg-graphics",{"title":92,"id":93,"canonicalKey":94,"locale":8,"draft":9,"icon":95,"path":96},"Test a PDF","content:docs:3.guides:6.testing.md","3\u002F6","lucide:flask-conical","\u002Fdocs\u002Fguides\u002Ftesting",{"title":98,"id":99,"canonicalKey":100,"locale":8,"draft":9,"icon":101,"path":102},"Diagnose render failures","content:docs:3.guides:7.errors-and-debugging.md","3\u002F7","lucide:bug","\u002Fdocs\u002Fguides\u002Ferrors-and-debugging",{"title":104,"id":105,"canonicalKey":106,"locale":8,"draft":9,"icon":53,"path":107},"Deploy and operate","content:docs:3.guides:8.deployment.md","3\u002F8","\u002Fdocs\u002Fguides\u002Fdeployment",{"title":109,"id":110,"canonicalKey":111,"locale":8,"draft":9,"icon":112,"path":113},"Production recipes","content:docs:3.guides:9.recipes.md","3\u002F9","lucide:notebook-tabs","\u002Fdocs\u002Fguides\u002Frecipes",{"title":115,"id":116,"canonicalKey":117,"locale":8,"draft":9,"icon":53,"path":118},"Render outside Nitro","content:docs:3.guides:10.standalone-node.md","3\u002F10","\u002Fdocs\u002Fguides\u002Fstandalone-node",{"title":120,"page":9,"canonicalKey":121,"locale":8,"id":122,"draft":9,"icon":123,"sidebar":11,"children":124},"Reference","4","content:docs:4.reference:.navigation.yml","lucide:book-marked",[125,131,137,143,149,155,161,167,173,179],{"title":126,"id":127,"canonicalKey":128,"locale":8,"draft":9,"icon":129,"path":130},"Module options","content:docs:4.reference:1.module-options.md","4\u002F1","lucide:sliders","\u002Fdocs\u002Freference\u002Fmodule-options",{"title":132,"id":133,"canonicalKey":134,"locale":8,"draft":9,"icon":135,"path":136},"definePdf","content:docs:4.reference:2.define-pdf.md","4\u002F2","lucide:settings-2","\u002Fdocs\u002Freference\u002Fdefine-pdf",{"title":138,"id":139,"canonicalKey":140,"locale":8,"draft":9,"icon":141,"path":142},"Registry and render result","content:docs:4.reference:3.registry.md","4\u002F3","lucide:braces","\u002Fdocs\u002Freference\u002Fregistry",{"title":144,"id":145,"canonicalKey":146,"locale":8,"draft":9,"icon":147,"path":148},"Primitives","content:docs:4.reference:4.primitives.md","4\u002F4","lucide:box","\u002Fdocs\u002Freference\u002Fprimitives",{"title":150,"id":151,"canonicalKey":152,"locale":8,"draft":9,"icon":153,"path":154},"Styles","content:docs:4.reference:5.styles.md","4\u002F5","lucide:palette","\u002Fdocs\u002Freference\u002Fstyles",{"title":156,"id":157,"canonicalKey":158,"locale":8,"draft":9,"icon":159,"path":160},"Page sizes","content:docs:4.reference:6.page-sizes.md","4\u002F6","lucide:file","\u002Fdocs\u002Freference\u002Fpage-sizes",{"title":162,"id":163,"canonicalKey":164,"locale":8,"draft":9,"icon":165,"path":166},"Composables","content:docs:4.reference:7.composables.md","4\u002F7","lucide:function-square","\u002Fdocs\u002Freference\u002Fcomposables",{"title":168,"id":169,"canonicalKey":170,"locale":8,"draft":9,"icon":171,"path":172},"Errors and limits","content:docs:4.reference:8.errors-and-limits.md","4\u002F8","lucide:triangle-alert","\u002Fdocs\u002Freference\u002Ferrors-and-limits",{"title":174,"id":175,"canonicalKey":176,"locale":8,"draft":9,"icon":177,"path":178},"Test utilities","content:docs:4.reference:9.test-utilities.md","4\u002F9","lucide:test-tube","\u002Fdocs\u002Freference\u002Ftest-utilities",{"title":180,"id":181,"canonicalKey":182,"locale":8,"draft":9,"icon":141,"path":183},"Standalone build and runtime","content:docs:4.reference:10.standalone.md","4\u002F10","\u002Fdocs\u002Freference\u002Fstandalone",{"title":185,"id":186,"canonicalKey":187,"locale":8,"draft":9,"icon":188,"sidebar":11,"path":189,"children":190},"Examples and support","content:docs:5.examples:.navigation.yml","5","lucide:layout-grid","\u002Fdocs\u002Fexamples",[191],{"title":192,"id":193,"canonicalKey":194,"locale":8,"draft":9,"icon":195,"path":196},"Supported behavior and limitations","content:docs:5.examples:2.supported-behavior.md","5\u002F2","lucide:scale","\u002Fdocs\u002Fexamples\u002Fsupported-behavior",{"title":180,"description":198,"icon":141,"body":199,"type":575,"id":181,"canonicalKey":182,"draft":9,"partial":9,"locale":8,"collection":576,"navigationFile":9,"file":577,"resolvedRefs":583,"route":584,"resolution":586},"Production registry generation and Node runtime exports outside Nitro.",{"type":200,"children":201,"toc":568},"root",[202,211,244,427,455,461,485,556],{"type":203,"tag":204,"props":205,"children":207},"element","h2",{"id":206},"build-options",[208],{"type":209,"value":210},"text","Build options",{"type":203,"tag":212,"props":213,"children":214},"p",{},[215,221,223,228,230,235,237,242],{"type":203,"tag":216,"props":217,"children":218},"code",{},[219],{"type":209,"value":220},"@lupinum\u002Fnuxt-pdf\u002Fbuild",{"type":209,"value":222}," exports the ",{"type":203,"tag":216,"props":224,"children":225},{},[226],{"type":209,"value":227},"buildPdfRegistry",{"type":209,"value":229}," function and the\n",{"type":203,"tag":216,"props":231,"children":232},{},[233],{"type":209,"value":234},"BuildPdfRegistryOptions",{"type":209,"value":236}," type. The function resolves to ",{"type":203,"tag":216,"props":238,"children":239},{},[240],{"type":209,"value":241},"Promise\u003Cvoid>",{"type":209,"value":243},".",{"type":203,"tag":245,"props":246,"children":247},"table",{},[248,272],{"type":203,"tag":249,"props":250,"children":251},"thead",{},[252],{"type":203,"tag":253,"props":254,"children":255},"tr",{},[256,262,267],{"type":203,"tag":257,"props":258,"children":259},"th",{},[260],{"type":209,"value":261},"Option",{"type":203,"tag":257,"props":263,"children":264},{},[265],{"type":209,"value":266},"Type",{"type":203,"tag":257,"props":268,"children":269},{},[270],{"type":209,"value":271},"Behavior",{"type":203,"tag":273,"props":274,"children":275},"tbody",{},[276,308,349,379,403],{"type":203,"tag":253,"props":277,"children":278},{},[279,288,296],{"type":203,"tag":280,"props":281,"children":282},"td",{},[283],{"type":203,"tag":216,"props":284,"children":285},{},[286],{"type":209,"value":287},"rootDir",{"type":203,"tag":280,"props":289,"children":290},{},[291],{"type":203,"tag":216,"props":292,"children":293},{},[294],{"type":209,"value":295},"string",{"type":203,"tag":280,"props":297,"children":298},{},[299,301,306],{"type":209,"value":300},"Required application root containing ",{"type":203,"tag":216,"props":302,"children":303},{},[304],{"type":209,"value":305},"pdfs\u002F",{"type":209,"value":307},". Relative to the working directory.",{"type":203,"tag":253,"props":309,"children":310},{},[311,319,326],{"type":203,"tag":280,"props":312,"children":313},{},[314],{"type":203,"tag":216,"props":315,"children":316},{},[317],{"type":209,"value":318},"outDir",{"type":203,"tag":280,"props":320,"children":321},{},[322],{"type":203,"tag":216,"props":323,"children":324},{},[325],{"type":209,"value":295},{"type":203,"tag":280,"props":327,"children":328},{},[329,331,335,337,341,343,347],{"type":209,"value":330},"Required dedicated output directory inside ",{"type":203,"tag":216,"props":332,"children":333},{},[334],{"type":209,"value":287},{"type":209,"value":336}," and outside ",{"type":203,"tag":216,"props":338,"children":339},{},[340],{"type":209,"value":305},{"type":209,"value":342},". Relative paths use ",{"type":203,"tag":216,"props":344,"children":345},{},[346],{"type":209,"value":287},{"type":209,"value":348},". An existing directory must carry Nuxt PDF's ownership marker.",{"type":203,"tag":253,"props":350,"children":351},{},[352,360,368],{"type":203,"tag":280,"props":353,"children":354},{},[355],{"type":203,"tag":216,"props":356,"children":357},{},[358],{"type":209,"value":359},"fonts",{"type":203,"tag":280,"props":361,"children":362},{},[363],{"type":203,"tag":216,"props":364,"children":365},{},[366],{"type":209,"value":367},"readonly PdfFontDeclaration[]",{"type":203,"tag":280,"props":369,"children":370},{},[371,373,378],{"type":209,"value":372},"Defaults to no custom fonts. Sources resolve under ",{"type":203,"tag":216,"props":374,"children":375},{},[376],{"type":209,"value":377},"pdfs\u002Ffonts\u002F",{"type":209,"value":243},{"type":203,"tag":253,"props":380,"children":381},{},[382,390,398],{"type":203,"tag":280,"props":383,"children":384},{},[385],{"type":203,"tag":216,"props":386,"children":387},{},[388],{"type":209,"value":389},"limits",{"type":203,"tag":280,"props":391,"children":392},{},[393],{"type":203,"tag":216,"props":394,"children":395},{},[396],{"type":209,"value":397},"PdfLimitsOptions",{"type":203,"tag":280,"props":399,"children":400},{},[401],{"type":209,"value":402},"Existing render and image-admission limits. Omitted fields use the engine defaults.",{"type":203,"tag":253,"props":404,"children":405},{},[406,414,422],{"type":203,"tag":280,"props":407,"children":408},{},[409],{"type":203,"tag":216,"props":410,"children":411},{},[412],{"type":209,"value":413},"remote",{"type":203,"tag":280,"props":415,"children":416},{},[417],{"type":203,"tag":216,"props":418,"children":419},{},[420],{"type":209,"value":421},"RemoteAssetOptions",{"type":203,"tag":280,"props":423,"children":424},{},[425],{"type":209,"value":426},"Existing remote-image policy. Denied by default.",{"type":203,"tag":212,"props":428,"children":429},{},[430,432,437,439,444,446,453],{"type":209,"value":431},"The build rejects unknown options, missing templates, invalid resources, invalid\ntemplates, and type errors. A successful build emits ",{"type":203,"tag":216,"props":433,"children":434},{},[435],{"type":209,"value":436},"index.mjs",{"type":209,"value":438},", ",{"type":203,"tag":216,"props":440,"children":441},{},[442],{"type":209,"value":443},"index.d.mts",{"type":209,"value":445},",\nand the declarations needed for inferred props. It uses Vue's type checker at\nbuild time; consumers use ordinary TypeScript. See\n",{"type":203,"tag":447,"props":448,"children":450},"a",{"href":449},"$docs\u002Fguides\u002Fstandalone-node",[451],{"type":209,"value":452},"standalone rendering",{"type":209,"value":454}," for the procedure and\noutput-directory replacement rules.",{"type":203,"tag":204,"props":456,"children":458},{"id":457},"server-exports",[459],{"type":209,"value":460},"Server exports",{"type":203,"tag":212,"props":462,"children":463},{},[464,469,471,476,478,483],{"type":203,"tag":216,"props":465,"children":466},{},[467],{"type":209,"value":468},"@lupinum\u002Fnuxt-pdf\u002Fserver",{"type":209,"value":470}," is a Node-only production entry. It has no Nuxt virtual\nimports or source compiler. Generated registries use ",{"type":203,"tag":216,"props":472,"children":473},{},[474],{"type":209,"value":475},"createPdfTemplate",{"type":209,"value":477}," to bind\na compiled component to its admitted resources, then ",{"type":203,"tag":216,"props":479,"children":480},{},[481],{"type":209,"value":482},"createPdfRegistry",{"type":209,"value":484}," to\nassemble named template handles. Application code should use the generated\nregistry instead of constructing this resource configuration manually.",{"type":203,"tag":212,"props":486,"children":487},{},[488,493,495,500,502,507,509,514,516,521,523,528,530,535,536,541,542,547,549,554],{"type":203,"tag":216,"props":489,"children":490},{},[491],{"type":209,"value":492},"PdfRegistryEntries",{"type":209,"value":494}," describes the readonly named handles. ",{"type":203,"tag":216,"props":496,"children":497},{},[498],{"type":209,"value":499},"PdfRegistry",{"type":209,"value":501},"\ndescribes their runtime dispatch. ",{"type":203,"tag":216,"props":503,"children":504},{},[505],{"type":209,"value":506},"PdfComponentProps",{"type":209,"value":508}," extracts authored Vue\nprops. ",{"type":203,"tag":216,"props":510,"children":511},{},[512],{"type":209,"value":513},"PdfDefinition",{"type":209,"value":515}," describes compile-time metadata. ",{"type":203,"tag":216,"props":517,"children":518},{},[519],{"type":209,"value":520},"PdfTemplate",{"type":209,"value":522}," and\n",{"type":203,"tag":216,"props":524,"children":525},{},[526],{"type":209,"value":527},"PdfRenderResult",{"type":209,"value":529}," describe the public handle and completed bytes. The entry\nalso exports ",{"type":203,"tag":216,"props":531,"children":532},{},[533],{"type":209,"value":534},"usePdfPageNumbers",{"type":209,"value":438},{"type":203,"tag":216,"props":537,"children":538},{},[539],{"type":209,"value":540},"NuxtPdfError",{"type":209,"value":438},{"type":203,"tag":216,"props":543,"children":544},{},[545],{"type":209,"value":546},"PDF_ERROR_CODES",{"type":209,"value":548},", and\n",{"type":203,"tag":216,"props":550,"children":551},{},[552],{"type":209,"value":553},"PdfErrorCode",{"type":209,"value":555}," with their existing behavior.",{"type":203,"tag":212,"props":557,"children":558},{},[559,561,567],{"type":209,"value":560},"No export sends email, stores a document, authenticates a caller, or selects a\nbackend provider. The runtime preserves the current Node requirements and\n",{"type":203,"tag":447,"props":562,"children":564},{"href":563},"$docs\u002Freference\u002Ferrors-and-limits",[565],{"type":209,"value":566},"resource limits",{"type":209,"value":243},{"title":569,"searchDepth":570,"depth":570,"links":571},"",4,[572,574],{"id":206,"depth":573,"text":210},2,{"id":457,"depth":573,"text":460},"markdown","docs",{"source":578,"path":579,"stem":580,"dir":581,"extension":582},"content","docs\u002F4.reference\u002F10.standalone.md","docs\u002F4.reference\u002F10.standalone","reference","md",{"$docs\u002Fguides\u002Fstandalone-node":118,"$docs\u002Freference\u002Ferrors-and-limits":172},{"requestedPath":183,"resolvedPath":183,"alternates":585},[],{"requested":587,"resolved":588,"usedFallback":9},{},{"locale":8},{"previous":590,"next":591},{"title":174,"id":175,"canonicalKey":176,"locale":8,"draft":9,"path":178},{"title":185,"id":186,"canonicalKey":187,"locale":8,"draft":9,"path":189,"children":592},[593],{"title":192,"id":193,"canonicalKey":194,"locale":8,"draft":9,"path":196},1789319016214]