Skip to content

导出尺寸

¥Export size

export-size
版本生成:10.2.0
日期:2023-06-06T20:51:12.857Z

¥generated by export-size
version: 10.2.0
date: 2023-06-06T20:51:12.857Z

请注意,这是每个单独 API 的打包包大小(不包括 Vue)。由于每个函数下面有很多共享工具,因此导入两个不同的函数并不一定意味着包大小将是它们的总和(通常更小)。根据你使用的打包器和压缩器,最终结果可能会有所不同,此列表仅供参考。

¥Please note this is bundle size for each individual APIs (excluding Vue). Since we have a lot shared utilities underneath each function, importing two different functions does NOT necessarily mean the bundle size will be the sum of them (usually smaller). Depends on the bundler and minifier you use, the final result might vary, this list is for reference only.

@vueuse/core

函数分钟+gzip 压缩
useDark3.03 KB
useColorMode2.89 KB
createFetch2.76 KB
useFetch2.42 KB
useMediaControls2.41 KB
useSessionStorage2.03 KB
useLocalStorage2.02 KB
useStorage1.99 KB
useInfiniteScroll1.98 KB
useVirtualList1.8 KB
useThrottledRefHistory1.73 KB
useDebouncedRefHistory1.7 KB
useStorageAsync1.63 KB
useTimeAgo1.63 KB
useUrlSearchParams1.59 KB
useAnimate1.56 KB
useScroll1.53 KB
useParallax1.5 KB
useScreenSafeArea1.5 KB
useRefHistory1.45 KB
useImage1.39 KB
useDraggable1.36 KB
usePointerLock1.36 KB
useWebSocket1.34 KB
useGamepad1.25 KB
useAsyncState1.17 KB
useElementBounding1.15 KB
useTransition1.15 KB
usePointer1.14 KB
useMouseInElement1.12 KB
useDevicesList1.09 KB
useFullscreen1.05 KB
usePointerSwipe1.04 KB
useClipboard1.02 KB
useMagicKeys1.02 KB
useSwipe996 B
useIdle977 B
useWebNotification964 B
useWindowSize964 B
useElementSize955 B
useElementByPoint953 B
useBrowserLocation952 B
useBreakpoints915 B
useScrollLock915 B
onKeyPressed908 B
onKeyUp906 B
onKeyDown904 B
useTitle903 B
onClickOutside893 B
useFileSystemAccess878 B
useTextareaAutosize869 B
useOnline830 B
useMouse825 B
useTextDirection821 B
useCssVar820 B
useTimestamp817 B
useNetwork814 B
useNow788 B
formatTimeAgo774 B
useBase64769 B
useFocusWithin769 B
usePermission759 B
useWebWorkerFn749 B
useBattery743 B
createReusableTemplate738 B
useWakeLock727 B
useSpeechSynthesis724 B
useActiveElement712 B
useFileDialog707 B
onStartTyping704 B
useScreenOrientation704 B
useDeviceMotion703 B
useSpeechRecognition694 B
useElementVisibility692 B
useTextSelection681 B
useEventSource679 B
useMousePressed679 B
useScriptTag676 B
onLongPress675 B
useDeviceOrientation672 B
useResizeObserver671 B
useVibrate671 B
onKeyStroke651 B
useOffsetPagination650 B
useIntersectionObserver634 B
useNavigatorLanguage632 B
executeTransition630 B
useDropZone629 B
useMutationObserver613 B
useFocus605 B
useElementHover598 B
useBluetooth596 B
useKeyModifier587 B
usePreferredContrast583 B
usePageLeave576 B
usePreferredColorScheme570 B
useUserMedia569 B
useVModels567 B
usePreferredReducedMotion557 B
useWindowScroll555 B
useShare546 B
useDocumentVisibility542 B
usePreferredLanguages537 B
usePerformanceObserver536 B
usePreferredDark536 B
useVModel533 B
useWindowFocus532 B
useGeolocation526 B
useMemory524 B
useManualRefHistory516 B
useAsyncQueue511 B
useMediaQuery505 B
useCloned499 B
createTemplatePromise497 B
useParentElement496 B
useBroadcastChannel476 B
useDisplayMedia476 B
useStyleTag474 B
useEventListener467 B
useCycleList463 B
useFps458 B
useStepper433 B
useConfirmDialog418 B
useTimeoutPoll407 B
useMemoize403 B
useSorted366 B
TransitionPresets363 B
useFavicon362 B
asyncComputed358 B
computedAsync358 B
useCurrentElement355 B
useRafFn342 B
useEventBus332 B
useWebWorker322 B
useEyeDropper314 B
mapGamepadToXbox360Controller304 B
useDevicePixelRatio294 B
useObjectUrl278 B
templateRef270 B
usePrevious260 B
StorageSerializers246 B
setSSRHandler240 B
getSSRHandler213 B
useSupported194 B
computedInject183 B
breakpointsMasterCss178 B
useTemplateRefsList177 B
useCached169 B
DefaultMagicKeysAliasMap166 B
createUnrefFn166 B
unrefElement165 B
breakpointsSematic158 B
useMounted156 B
breakpointsBootstrapV5145 B
breakpointsTailwind145 B
breakpointsAntDesign141 B
breakpointsQuasar129 B
breakpointsVuetify124 B
cloneFnJSON122 B
customStorageEventName111 B
defaultNavigator108 B
defaultWindow104 B
defaultDocument101 B
defaultLocation100 B

@vueuse/components

函数分钟+gzip 压缩
UseColorMode6.07 KB
UseImage5.17 KB
UseScreenSafeArea4.77 KB
UseDraggable4.5 KB
UseOffsetPagination4.39 KB
UseVirtualList4.38 KB
UseDark4.35 KB
UseTimeAgo4.31 KB
UseMousePressed4.3 KB
UsePointer4.3 KB
UseNow4.28 KB
UseTimestamp4.27 KB
UseElementSize4.27 KB
OnClickOutside4.26 KB
OnLongPress4.26 KB
UseMouseInElement4.26 KB
UseElementVisibility4.25 KB
UseElementBounding4.25 KB
UseIdle4.24 KB
UseGeolocation4.24 KB
UsePointerLock4.24 KB
VOnClickOutside4.24 KB
vOnClickOutside4.24 KB
UseFullscreen4.24 KB
vScroll4.24 KB
UseMouse4.24 KB
UseDevicesList4.24 KB
UseWindowSize4.23 KB
UseEyeDropper4.23 KB
UseObjectUrl4.23 KB
vOnKeyStroke4.22 KB
UsePreferredColorScheme4.22 KB
UsePreferredDark4.22 KB
UsePreferredReducedMotion4.22 KB
UseWindowFocus4.22 KB
UsePreferredContrast4.22 KB
UsePreferredLanguages4.22 KB
vElementSize4.22 KB
UseDeviceMotion4.22 KB
UseDocumentVisibility4.22 KB
UseOnline4.22 KB
UsePageLeave4.22 KB
UseDevicePixelRatio4.22 KB
UseActiveElement4.22 KB
UseDeviceOrientation4.22 KB
UseBrowserLocation4.21 KB
vElementVisibility4.21 KB
UseNetwork4.21 KB
UseBattery4.21 KB
VOnLongPress4.19 KB
vOnLongPress4.19 KB
vIntersectionObserver4.19 KB
vElementHover4.19 KB
vInfiniteScroll4.18 KB
vScrollLock4.15 KB

@vueuse/math

函数分钟+gzip 压缩
usePrecision240 B
useClamp214 B
useMath198 B
useProjection196 B
useAverage195 B
useSum194 B
createProjection193 B
useMin191 B
useMax190 B
createGenericProjection132 B
and123 B
logicAnd123 B
logicOr122 B
or122 B
useTrunc120 B
useAbs115 B
useCeil115 B
useRound115 B
useFloor114 B
logicNot109 B
not109 B

@vueuse/nuxt

函数分钟+gzip 压缩
default785 B

@vueuse/router

函数分钟+gzip 压缩
useRouteParams612 B
useRouteQuery607 B
useRouteHash514 B

@vueuse/integrations

函数分钟+gzip 压缩
useAxios1.56 KB
useAsyncValidator1.34 KB
useDrauu928 B
createCookies727 B
useSortable720 B
useFocusTrap718 B
useCookies691 B
useIDBKeyval675 B
useFuse445 B
useNProgress425 B
useChangeCase385 B
useQRCode371 B
useJwt313 B
moveArrayElement238 B

@vueuse/rxjs

函数分钟+gzip 压缩
useSubject235 B
fromEvent217 B
useObservable212 B
from153 B
useSubscription144 B
toObserver88 B

@vueuse/firebase

函数分钟+gzip 压缩
useFirestore637 B
useRTDB210 B
useAuth164 B

@vueuse/electron

函数分钟+gzip 压缩
useIpcRenderer460 B
useZoomFactor317 B
useZoomLevel281 B
useIpcRendererOn242 B
useIpcRendererInvoke218 B

@vueuse/shared

函数分钟+gzip 压缩
watchTriggerable942 B
throttledWatch831 B
watchThrottled831 B
useDateFormat807 B
debouncedWatch786 B
watchDebounced786 B
ignorableWatch708 B
watchIgnorable708 B
pausableWatch674 B
watchPausable674 B
useInterval620 B
until595 B
useTimeout565 B
formatDate543 B
watchAtMost510 B
controlledRef489 B
refWithControl474 B
refThrottled458 B
throttledRef458 B
useThrottle458 B
reactivePick454 B
toRefs451 B
debouncedRef423 B
refDebounced423 B
useDebounce423 B
useThrottleFn401 B
computedEager398 B
eagerComputed398 B
reactiveOmit381 B
watchWithFilter373 B
useDebounceFn372 B
makeDestructurable364 B
useIntervalFn341 B
useArrayIncludes340 B
watchDeep325 B
watchImmediate322 B
reactifyObject305 B
useTimeoutFn303 B
throttleFilter289 B
extendRef282 B
watchArray281 B
debounceFilter277 B
reactiveComputed264 B
normalizeDate261 B
computedWithControl250 B
controlledComputed250 B
toReactive242 B
syncRef237 B
autoResetRef234 B
refAutoReset234 B
useArrayDifference231 B
useArrayUnique215 B
createSharedComposable213 B
createEventHook212 B
useToNumber203 B
useToggle200 B
useArrayFindLast191 B
useCounter185 B
createReactiveFn174 B
increaseWithUnit174 B
reactify174 B
useArrayReduce171 B
resolveRef169 B
pausableFilter165 B
toRef159 B
syncRefs158 B
isIOS146 B
useLastChanged143 B
set142 B
createFilterWrapper139 B
directiveHooks139 B
useArrayEvery137 B
useArrayFind137 B
useArrayJoin137 B
useArraySome137 B
useArrayFindIndex136 B
useArrayMap133 B
createInjectionState132 B
useArrayFilter132 B
createGlobalState125 B
createSingletonPromise122 B
objectPick117 B
objectOmit115 B
tryOnBeforeMount114 B
useToString111 B
tryOnMounted109 B
refDefault107 B
watchOnce107 B
promiseTimeout105 B
tryOnScopeDispose100 B
resolveUnref99 B
whenever97 B
rand95 B
tryOnBeforeUnmount93 B
toValue92 B
isObject89 B
clamp87 B
isDefined86 B
tryOnUnmounted85 B
hasOwn83 B
containsProp80 B
get80 B
assert78 B
notNullish70 B
bypassFilter69 B
isClient68 B
identity66 B
objectEntries65 B
timestamp65 B
invoke63 B
isDef62 B
now61 B
noop56 B

VueUse 中文网 - 粤ICP备13048890号