@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
import { useAxios } from '@vueuse/integrations/useAxios'
// Don't
import { useAxios } from '@vueuse/integrations'
License ​
MIT License © 2019-PRESENT Anthony Fu