JSPM

  • Created
  • Published
  • Downloads 235703
  • Score
    100M100P100Q243605F
  • License MIT

VueUse Nuxt Module

Package Exports

  • @vueuse/nuxt
  • @vueuse/nuxt/module

Readme

@vueuse/nuxt

NPM version

This is an add-on of VueUse, provides Nuxt specific composables and auto-import capabilities.

Experimental. Will NOT follow semvar.

Install

npm i @vueuse/nuxt
// nuxt.config

export function defineNuxtConfig({
  buildModules: [
    '@vueuse/nuxt/module'
  ]
})

Functions

@vueuse/nuxt provides the following functions

  • useNuxtDark — reactive dark mode with auto data persistence for Nuxt

License

MIT License © 2021-PRESENT Anthony Fu