Skip to content

Vergil

Application wrapper for global enablement of some components.

Usage

vue
<script setup>
import { Vergil } from '@8ctavio/vergil/components'
</script>

<template>
    <Vergil>
        <AppLayout/>
    </Vergil>
</template>

Description

Applications should be wrapped with Vergil in order to globally enable the use of some components. In particular, Vergil enables popovers created by usePopover, and other components may be enabled through props.

Props

Confirm
confirm: boolean

Enables the Confirm component.

Allows to display Popup components as modal windows.

Toaster
toaster: boolean

Enables Toasters to programatically display Toast components.

API Reference

Props

proptypedefault
confirmboolean
popupboolean
toasterboolean