feat: introduce useNuxt composable
This commit is contained in:
parent
13f6e5ff43
commit
6599c5f5bf
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue