All files / server-renderer/src index.ts

100% Statements 40/40
100% Branches 0/0
68% Functions 17/25
100% Lines 30/30

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 438x 8x       16x 8x 8x 8x 8x 9x 9x     8x       14x 33x 17x 8x 8x 10x 9x 70x 9x 8x   20x 8x 9x 9x 8x     8x 11x 10x 11x 19x    
import { initDirectivesForSSR } from 'vue'
initDirectivesForSSR()
 
// public
export { SSRContext } from './render'
export { renderToString } from './renderToString'
export {
  renderToSimpleStream,
  renderToNodeStream,
  pipeToNodeWritable,
  renderToWebStream,
  pipeToWebWritable,
  SimpleReadable,
  // deprecated
  renderToStream
} from './renderToStream'
 
// internal runtime helpers
export { renderVNode as ssrRenderVNode } from './render'
export { ssrRenderComponent } from './helpers/ssrRenderComponent'
export { ssrRenderSlot } from './helpers/ssrRenderSlot'
export { ssrRenderTeleport } from './helpers/ssrRenderTeleport'
export {
  ssrRenderClass,
  ssrRenderStyle,
  ssrRenderAttrs,
  ssrRenderAttr,
  ssrRenderDynamicAttr
} from './helpers/ssrRenderAttrs'
export { ssrInterpolate } from './helpers/ssrInterpolate'
export { ssrRenderList } from './helpers/ssrRenderList'
export { ssrRenderSuspense } from './helpers/ssrRenderSuspense'
export { ssrGetDirectiveProps } from './helpers/ssrGetDirectiveProps'
export { includeBooleanAttr as ssrIncludeBooleanAttr } from '@vue/shared'
 
// v-model helpers
export {
  ssrLooseEqual,
  ssrLooseContain,
  ssrRenderDynamicModel,
  ssrGetDynamicModelProps
} from './helpers/ssrVModelHelpers'