chore: bump deps for hoppscotch-common and hoppscotch-selfhost-web (#3575)

This commit is contained in:
Akash K
2023-12-05 17:33:25 +05:30
committed by GitHub
parent ed2a461dc5
commit 95754cb2b4
15 changed files with 3042 additions and 3282 deletions

View File

@@ -1,21 +1,20 @@
import { createHead, useHead } from "@vueuse/head"
import { createHead, useHead } from "@unhead/vue"
import { APP_INFO } from "~/../meta"
import { HoppModule } from "."
export default <HoppModule>{
onVueAppInit(app) {
const head = createHead({
title: `${APP_INFO.name}${APP_INFO.shortDescription}`,
titleTemplate(title) {
return title === "Hoppscotch" ? title : `${title} • Hoppscotch`
},
})
const head = createHead()
app.use(head)
},
onRootSetup() {
// Load the defaults into the app
useHead({})
useHead({
title: `${APP_INFO.name}${APP_INFO.shortDescription}`,
titleTemplate(title) {
return title === "Hoppscotch" ? title : `${title} • Hoppscotch`
},
})
},
}