chore: bump deps for hoppscotch-common and hoppscotch-selfhost-web (#3575)
This commit is contained in:
@@ -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`
|
||||
},
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user