@vueuse/integrations ​
This is an add-on of VueUse, providing integration wrappers for utility libraries.
Install ​
bash
npm i @vueuse/integrations
Functions ​
useAsyncValidator
— wrapper forasync-validator
useAxios
— wrapper foraxios
useChangeCase
— reactive wrapper forchange-case
useCookies
— wrapper foruniversal-cookie
useDrauu
— reactive instance for drauuuseFocusTrap
— reactive wrapper forfocus-trap
useFuse
— easily implement fuzzy search using a composable with Fuse.jsuseIDBKeyval
— wrapper foridb-keyval
useJwt
— wrapper forjwt-decode
useNProgress
— reactive wrapper fornprogress
useQRCode
— wrapper forqrcode
useSortable
— wrapper forsortable
Tree-shaking ​
For better tree-shaking result, import functions from submodules, for example:
ts
// Don't
import { useAxios } from '@vueuse/integrations'
import { useAxios } from '@vueuse/integrations/useAxios'
License ​
MIT License © 2019-PRESENT Anthony Fu