Package Exports
- @vueuse/nuxt
- @vueuse/nuxt/module
Readme
@vueuse/nuxt
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