Skip to content
Inkoxide

Search covers every page and heading of the docs. Use ↑ ↓ and ↵.

Errors

Edit this page

A problem in a template is a TemplateError (a RenderError with the code TEMPLATE_ERROR from the render functions), whose componentStack names the components, yours included, from the element at fault outwards:

<View> cannot be inside <Text>. A Text contains only strings, numbers, <Text>, <Link>, …
    in View
    in Address
    in Page
    in Document
    in Invoice

A template renders once, synchronously, so these are errors too:

  • <Suspense>, async setup() and async components: load the data first and pass it in as props;
  • Vapor components (<script setup vapor>), which render without the renderer Inkoxide gives;
  • listeners (@click): nothing happens in a PDF.

Synced from packages/vue/GUIDE.md in the inkoxide repository.