[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]dist/2023-06-08 13:46 -  
[DIR]lib/2023-06-08 13:46 -  
[TXT]README.md2023-06-08 13:46 689 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]LICENSE2023-06-08 13:46 1.0K0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]package.json2023-06-08 13:46 3.0K0fb859dc fixed mobile overflwo options [كارل مبارك]
# vue-rellax

A plugin of Vue that adds a directive for parallax effect by [Rellax.js](https://dixonandmoe.com/rellax/).

## Getting Started

### Install

```sh
npm i vue-rellax -S
```

or

```sh
yarn add vue-rellax
```

### Usage

```js
import Vue from 'vue'
import VueRellax from 'vue-rellax'

Vue.use(VueRellax)

const vm = new Vue({
  el: '#app',
  template: `
    <div v-rellax="{
      // Rellax Options
      // See: https://github.com/dixonandmoe/rellax#features
      speed: -2,
    }">
      I’m slow and smooth
    </div>
  `
})
```

#### For Nuxt.js

In your `nuxt.config.js`

```js
{
  plugins: [
    { src: 'node_modules/vue-rellax/lib/nuxt-plugin', ssr: false }
  ]
}
```