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
feat: introduce useNuxt composable
Andrew Bastin6599c5f5bf91
diff --git a/helpers/utils/composables.ts b/helpers/utils/composables.tsindex 7dad49e91..d2aed799d 100644--- a/helpers/utils/composables.ts+++ b/helpers/utils/composables.ts@@ -6,9 +6,12 @@ import {Ref,ref,watch,+ wrapProperty,} from "@nuxtjs/composition-api"import { Observable, Subscription } from "rxjs"+export const useNuxt = wrapProperty("$nuxt")+export function useReadonlyStream<T>(stream$: Observable<T>,initialValue: T