wip(ssr): move ssr only utils to conditional export
This commit is contained in:
@@ -4,16 +4,13 @@ import {
|
||||
ComponentInternalInstance,
|
||||
VNode,
|
||||
VNodeChildren,
|
||||
createComponentInstance,
|
||||
setupComponent,
|
||||
createVNode,
|
||||
renderComponentRoot,
|
||||
Text,
|
||||
Comment,
|
||||
Fragment,
|
||||
Portal,
|
||||
ShapeFlags,
|
||||
normalizeVNode
|
||||
ssrUtils
|
||||
} from 'vue'
|
||||
import {
|
||||
isString,
|
||||
@@ -25,6 +22,13 @@ import {
|
||||
import { renderProps } from './renderProps'
|
||||
import { escape } from './escape'
|
||||
|
||||
const {
|
||||
createComponentInstance,
|
||||
setupComponent,
|
||||
renderComponentRoot,
|
||||
normalizeVNode
|
||||
} = ssrUtils
|
||||
|
||||
// Each component has a buffer array.
|
||||
// A buffer array can contain one of the following:
|
||||
// - plain string
|
||||
|
||||
Reference in New Issue
Block a user