vue3-prlx
v0.2.0
Published
Vue 3 plugin and directive for scroll parallax effects. Vue 3 port of vue-prlx.
Maintainers
Readme
vue3-prlx
this is the vue 3 version of (https://github.com/gerasimvol/vue-prlx)
Demo and settings
🛠 Install
npm i vue3-prlxyarn add vue3-prlx🔌 Initialization
import App from "./App.vue";
import { createApp } from "vue";
// As a plugin
import { VuePrlx } from "vue3-prlx";
const app = createApp(App)
app.use(VuePrlx);
// Or as a directive
import { vPrlx } from 'vue3-prlx'
app.directive('prlx', vPrlx);