mirror of
https://github.com/micku7zu/vanilla-tilt.js
synced 2024-06-02 05:42:12 +02:00
update readme on NPM installation
This commit is contained in:
parent
129f3e31f1
commit
2af49bec96
|
@ -91,6 +91,12 @@ Also available on npm https://www.npmjs.com/package/vanilla-tilt
|
|||
npm install vanilla-tilt
|
||||
```
|
||||
|
||||
Import it using
|
||||
|
||||
```
|
||||
import VanillaTilt from 'vanilla-tilt';
|
||||
```
|
||||
|
||||
### Known issues
|
||||
- [Getting weird rendering issues on Safari](https://github.com/micku7zu/vanilla-tilt.js/issues/22)
|
||||
|
||||
|
|
|
@ -90,6 +90,12 @@ Also available on npm https://www.npmjs.com/package/vanilla-tilt
|
|||
npm install vanilla-tilt
|
||||
```
|
||||
|
||||
Import it using
|
||||
|
||||
```
|
||||
import VanillaTilt from 'vanilla-tilt';
|
||||
```
|
||||
|
||||
### Credits
|
||||
|
||||
Original library: [Tilt.js](http://gijsroge.github.io/tilt.js/)
|
||||
|
|
Loading…
Reference in a new issue