Socket
Book a DemoInstallSign in
Socket

@vueuse/nuxt

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vueuse/nuxt

VueUse Nuxt Module

Source
npmnpm
Version
13.7.0
Version published
Weekly downloads
278K
-2.35%
Maintainers
1
Weekly downloads
 
Created
Source

@vueuse/nuxt

NPM version

This is an add-on of VueUse, which provides better Nuxt integration auto-import capabilities.

Install

Install the vueuse module into your application using nuxi:

npx nuxi@latest module add vueuse

Or use npm:

npm i @vueuse/nuxt @vueuse/core
// nuxt.config
export default defineNuxtConfig({
  modules: [
    '@vueuse/nuxt',
  ],
})

Caveats

The following utils are disabled from auto-import for Nuxt to avoid conflicts with Nuxt's built-in utils:

  • toRef
  • toRefs
  • toValue
  • useFetch
  • useCookie
  • useHead
  • useTitle
  • useStorage
  • useImage

You can always use them by explicitly importing from @vueuse/core

License

MIT License © 2021-PRESENT Anthony Fu

Keywords

vue

FAQs

Package last updated on 18 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts