@ovee.js/toolkit-integrations
v0.2.2
Published
Ovee.js frontend toolkit developed by Owls Department
Downloads
39
Readme
Ovee.js Toolkit Integrations
This package adds components and modules for Ovee.js
, that heavily rely on external libraries. It's also a part of @ovee.js/toolkit
.
Installation
npm install --save @ovee.js/toolkit-integrations
# for yarn
yarn add @ovee.js/toolkit-integrations
This package requires @ovee.js/toolkit
. If you didn't installed it already, follow this link for installation instructions.
Usage notes
All submodules have their own peer dependencies, so you should check submodule's README
file to see if anything should be installed additionally, alongside standard configuration.
All imports should be done from specific submodules, f.ex.:
// Proper way
import { LazyLoad } from '@ovee.js/toolkit-integrations/lazy-load'
// Wrong way
import { LazyLoad } from '@ovee.js/toolkit-integrations'
You can do it, but it requires all optional libraries to be installed tho.
Available submodules
- BaseSlider, using
swiper
- GoogleMap, using
@googlemaps/js-api-loader
- LazyLoad, using
vanilla-lazyload
- LottiePlayer, using
lottie-web
- SplitText, using
gsap@business
- VideoAutoplay