@vueuse/nuxt
TypeScript icon, indicating that this package has built-in type declarations

10.9.0 • Public • Published

@vueuse/nuxt

NPM version

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

Install

npm i @vueuse/nuxt
// 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:

  • toRefs
  • useFetch
  • useCookie
  • useHead
  • useTitle
  • useStorage

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

License

MIT License © 2021-PRESENT Anthony Fu

/@vueuse/nuxt/

    Package Sidebar

    Install

    npm i @vueuse/nuxt

    Weekly Downloads

    135,374

    Version

    10.9.0

    License

    MIT

    Unpacked Size

    9.46 kB

    Total Files

    9

    Last publish

    Collaborators

    • vueuse-bot