You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on [https://idiotwu.github.io/smooth-scrollbar/](https://idiotwu.github.io/smooth-scrollbar/).
6
10
@@ -11,7 +15,7 @@ There are two examples in the demo. One of them with custom styles.
11
15
## Installation and setup
12
16
13
17
### 1. Install component:
14
-
If you want to install package from __npmjs registry__ use:
18
+
If you want to install package from __npmjs registry__(recommended) use:
15
19
```shell
16
20
npm i vue-smooth-scrollbar-ts
17
21
```
@@ -29,7 +33,7 @@ If you want to install package from __GitHub packages__ use:
29
33
```shell
30
34
npm install @siibragimov/vue-smooth-scrollbar-ts
31
35
```
32
-
**Note**: Don't forget to configure registry. Use __.npmrc__ file or use command:
36
+
**Note**: Don't forget to configure registry for installing packages from GitHub. Use __.npmrc__ file or use command:
33
37
```shell
34
38
npm config set registry https://npm.pkg.github.com/
35
39
```
@@ -51,9 +55,15 @@ For Nuxt 3:
51
55
52
56
### 3. Define overriding styles for scrollbars if needed. See the [`App.vue`](/src/App.vue).
53
57
54
-
**Note**: to make component work properly add height or width styling properties explicitly for the parent block of component. It behaviour is very close to the scroll when you use `overflow: scroll`. For more info checkout the [page](https://github.com/idiotWu/smooth-scrollbar/tree/develop/docs#common-mistakes).
58
+
**Note**: to make component work properly add height or width styling properties explicitly for the parent block of component. It behaviour is very close to the scroll when you use `overflow: scroll`. For more info checkout [this page](https://github.com/idiotWu/smooth-scrollbar/tree/develop/docs#common-mistakes).
0 commit comments