IOrigamPluginOptions

interface
Plugin & Configuration

Options bag for the Origam Nuxt / Vite plugin — controls how components and directives are auto-imported into the consuming application.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

autoImport
TOrigamPluginOptionsImport
Controls the auto-import behaviour. Accepts a named strategy or an object specifying which components and directives to include or exclude from automatic registration.

Usage

Examples

Ready-to-paste code snippets using this interface.

Configuring auto-import in nuxt.config.ts

typescript