Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
import { useHead } from "@unhead/vue"
import { createHead } from "@unhead/vue/client"
import { APP_INFO } from "~/../meta"
import { HoppModule } from "."
export default <HoppModule>{
onVueAppInit(app) {
const head = createHead()
app.use(head)
},
onRootSetup() {
useHead({
title: `${APP_INFO.name} • ${APP_INFO.shortDescription}`,
titleTemplate(title) {
return title === "Hoppscotch" ? title : `${title} • Hoppscotch`
},
})
},
}