Installation
Pick the package for your framework. It includes @ariana-reports/core.
npm install @ariana-reports/reactpnpm add @ariana-reports/reactyarn add @ariana-reports/reactRequires React 19 (react and react-dom are peer dependencies).
npm install @ariana-reports/vuepnpm add @ariana-reports/vueyarn add @ariana-reports/vueRequires Vue 3.5 or later (vue is a peer dependency).
Without a framework, install the engine alone:
npm install @ariana-reports/coreWhat gets installed
Section titled “What gets installed”pdf-libandexceljsare dependencies of core. They are loaded with a dynamicimport()the first time you export, so they do not slow down the first page load.- The packages are ES modules with CommonJS builds and TypeScript types. There is nothing to configure in Vite, webpack, Next.js or Nuxt.
- The default stylesheet is injected for you, once. Set
injectStylestofalseto provide your own; all class names start withar-.
Give it a height
Section titled “Give it a height”The viewer and designer fill their parent element, so the parent needs a height:
<div style="height: 600px"> … </div>Checking the version
Section titled “Checking the version”import { VERSION } from '@ariana-reports/core';console.log(VERSION);