Skip to content

Quick Start

This section describes how to import and use v-anything in your project.

Usage

Full Import

WIP...

On-demand Import

A rollup plugin named unplugin-v-anything is WIP...

Manually Import

Example:

vue
<script setup lang="ts">
import { vHighlight } from "@v-anything/directives"
</script>

<template>
  <div v-highlight="/.../">some text</div>
</template>