![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | node_modules/ | 8 months ago | - | |
![]() | LICENSE | 8 months ago | 1.1K | |
![]() | index.cjs | 8 months ago | 239 | |
![]() | index.d.cts | 8 months ago | 695 | |
![]() | package.json | 8 months ago | 1.1K | |
![]() | README.md | 8 months ago | 815 | |
![]() | index.mjs | 8 months ago | 3.0K | |
![]() | ssr-plugin.mjs | 8 months ago | 964 | |
![]() | index.d.mts | 8 months ago | 695 | |
![]() | index.d.ts | 8 months ago | 695 |
This is an add-on of VueUse, which provides better Nuxt integration auto-import capabilities.
npm i @vueuse/nuxt
// nuxt.config
export default defineNuxtConfig({
modules: [
'@vueuse/nuxt',
],
})
The following utils are disabled from auto-import for Nuxt to avoid conflicts with Nuxt's built-in utils:
toRefs
useFetch
useCookie
useHead
useTitle
useStorage
You can always use them by explicitly import from @vueuse/core
MIT License © 2021-PRESENT Anthony Fu