improve documentation

This commit is contained in:
Rene Haas
2022-11-01 14:06:26 +01:00
parent c58d9916d3
commit cf9cda1cf6
3 changed files with 8 additions and 4 deletions
+3 -1
View File
@@ -47,7 +47,7 @@ I created this plugin because I hate ugly and space consuming scrollbars. Simila
## Getting started
### npm & Node
### npm & node
OverlayScrollbars can be downloaded from [npm](https://www.npmjs.com/package/overlayscrollbars) or the package manager of your choice:
```sh
npm install overlayscrollbars
@@ -58,6 +58,8 @@ import 'overlayscrollbars/overlayscrollbars.css';
import { OverlayScrollbars } from 'overlayscrollbars';
```
> __Note__: In older node versions use `'overlayscrollbars/styles/overlayscrollbars.css'` as the import path for the CSS file.
### Manual download & embedding
<details>