Getting Started
- Install DireVue in your Vue 3 project:
bash
npm install direvue
bash
yarn add direvue
bash
pnpm add direvue
bash
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.