UNPKG

vue3-prlx

Version:

This is a package created to practice building Vue TypeScript packages with Vite. ### this is the vue 3 version of (https://github.com/gerasimvol/vue-prlx)

37 lines (23 loc) 641 B
# vue3-prlx This is a package created to practice building Vue TypeScript packages with Vite. ### this is the vue 3 version of (https://github.com/gerasimvol/vue-prlx) ## [Demo and settings](http://vue-prlx.surge.sh) ### 🛠 Install ```bash npm i vue3-prlx ``` ```bash yarn add vue3-prlx ``` ### 🔌 Initialization ```javascript import { createApp } from "vue"; // As a plugin import { VuePrlx } from "vue3-prlx"; const app = createApp(App) app.use(VuePrlx); // Or as a directive import { VuePrlxDirective } from 'vue-prlx' app.directive('prlx', VuePrlxDirective); ``` ### ⚙️ [Demo and settings](http://vue-prlx.surge.sh)