An open API service indexing awesome lists of open source software.

https://github.com/ehsan-shv/vb-smooth

Vue3 and Nuxt3 smooth scroll component.
https://github.com/ehsan-shv/vb-smooth

custom-scrollbar nuxt3 scrollbar smooth-scrolling typescript vue3

Last synced: about 1 month ago
JSON representation

Vue3 and Nuxt3 smooth scroll component.

Awesome Lists containing this project

README

          

# vb-smooth

Version

> Smooth scroll component for Vue3 and Nuxt apps. [Demo](https://ehsan-shv.github.io/vb-smooth/)

## Instalation

```bash
npm i vb-smooth
```

## Vue and Nuxt Example

```js


// Your Content...

import VBSmooth from 'vb-smooth';

export default {
components: { VBSmooth },
};

```

## Vue and Vue Router Example

```js



import VBSmooth from 'vb-smooth';

export default {
components: { VBSmooth },
};

```

## Customize

Check out options at [docs](https://github.com/idiotWu/smooth-scrollbar).

```js


// Your Content...

import { ref } from 'vue';
import VBSmooth from 'vb-smooth';

export default {
components: { VBSmooth },
setup() {
const options = ref({
// options
});

return {
options,
};
},
};

```