refactor(ssr): prefix ssr helpers

This commit is contained in:
Evan You
2020-02-06 12:07:25 -05:00
parent f3e70b3733
commit bc8f91d181
16 changed files with 256 additions and 136 deletions

View File

@@ -21,8 +21,8 @@ import {
isVoidTag,
escapeHtml
} from '@vue/shared'
import { renderAttrs } from './helpers/renderAttrs'
import { SSRSlots } from './helpers/renderSlot'
import { ssrRenderAttrs } from './helpers/ssrRenderAttrs'
import { SSRSlots } from './helpers/ssrRenderSlot'
const {
isVNode,
@@ -217,7 +217,7 @@ function renderElement(
// TODO directives
if (props !== null) {
openTag += renderAttrs(props, tag)
openTag += ssrRenderAttrs(props, tag)
}
if (scopeId !== null) {