Fix tailwind config
This commit is contained in:
11
plugins/parallax/index.ts
Normal file
11
plugins/parallax/index.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import Rellax from "rellax";
|
||||
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.vueApp.directive("parallax", {
|
||||
mounted(el, binding, vnode, prevVnode) {
|
||||
Rellax(el, {
|
||||
round: true,
|
||||
});
|
||||
},
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user