mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
chore(deps): update nuxt framework to ^3.16.0 (v3) (#3484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Benjamin Canac <canacb1@gmail.com> Co-authored-by: Pooya Parsa <pooya@pi0.io>
This commit is contained in:
@@ -53,7 +53,7 @@ export default defineNuxtModule<ModuleOptions>({
|
||||
name: 'ui',
|
||||
configKey: 'ui',
|
||||
compatibility: {
|
||||
nuxt: '>=3.13.1'
|
||||
nuxt: '>=3.16.0'
|
||||
},
|
||||
docs: 'https://ui3.nuxt.dev/getting-started/installation/nuxt'
|
||||
},
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { createHead, setHeadInjectionHandler } from '@unhead/vue'
|
||||
import { createHead } from '@unhead/vue/client'
|
||||
import type { Plugin } from 'vue'
|
||||
|
||||
export default {
|
||||
install() {
|
||||
setHeadInjectionHandler(() => createHead())
|
||||
install(app) {
|
||||
const head = createHead()
|
||||
app.use(head)
|
||||
}
|
||||
} satisfies Plugin
|
||||
|
||||
Reference in New Issue
Block a user