feat(ssr): useSSRContext
This commit is contained in:
@@ -11,7 +11,8 @@ import {
|
||||
ssrUtils,
|
||||
Slots,
|
||||
warn,
|
||||
createApp
|
||||
createApp,
|
||||
ssrContextKey
|
||||
} from 'vue'
|
||||
import {
|
||||
ShapeFlags,
|
||||
@@ -52,8 +53,6 @@ export type PushFn = (item: SSRBufferItem) => void
|
||||
|
||||
export type Props = Record<string, unknown>
|
||||
|
||||
const ssrContextKey = Symbol()
|
||||
|
||||
export type SSRContext = {
|
||||
[key: string]: any
|
||||
portals?: Record<string, string>
|
||||
|
||||
Reference in New Issue
Block a user