Getting Started
- Install DireVue in your Vue 3 project:
bash
npm install direvuebash
yarn add direvuebash
pnpm add direvuebash
bun add direvue- Import and use directives in your components:
js
import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import direvue from "direvue";
import "../node_modules/direvue/dist/direvue.css";
createApp(App)
.use(direvue)
.mount("#app");- Explore the documentation for each directive to unlock its full potential.