feat: introduce useNuxt composable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user