@vue/server-renderer
Advanced tools
| /** | ||
| * @vue/server-renderer v3.6.0-beta.11 | ||
| * @vue/server-renderer v3.6.0-beta.12 | ||
| * (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -95,2 +95,7 @@ * @license MIT | ||
| function ssrRenderComponent(comp, props = null, children = null, parentComponent = null, slotScopeId) { | ||
| if ((0, _vue_shared.isString)(comp)) { | ||
| const { getBuffer, push } = createBuffer(); | ||
| renderVNode(push, (0, vue.createVNode)(comp, props, children), parentComponent, slotScopeId); | ||
| return getBuffer(); | ||
| } | ||
| return renderComponentVNode((0, vue.createVNode)(comp, props, children), parentComponent, slotScopeId); | ||
@@ -97,0 +102,0 @@ } |
| /** | ||
| * @vue/server-renderer v3.6.0-beta.11 | ||
| * @vue/server-renderer v3.6.0-beta.12 | ||
| * (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -95,2 +95,7 @@ * @license MIT | ||
| function ssrRenderComponent(comp, props = null, children = null, parentComponent = null, slotScopeId) { | ||
| if ((0, _vue_shared.isString)(comp)) { | ||
| const { getBuffer, push } = createBuffer(); | ||
| renderVNode(push, (0, vue.createVNode)(comp, props, children), parentComponent, slotScopeId); | ||
| return getBuffer(); | ||
| } | ||
| return renderComponentVNode((0, vue.createVNode)(comp, props, children), parentComponent, slotScopeId); | ||
@@ -97,0 +102,0 @@ } |
@@ -43,3 +43,3 @@ import { App, Component, ComponentInternalInstance, ComponentPublicInstance, Directive, Slots, VNode } from "vue"; | ||
| //#region temp/packages/server-renderer/src/helpers/ssrRenderComponent.d.ts | ||
| export declare function ssrRenderComponent(comp: Component, props?: Props | null, children?: Slots | SSRSlots | null, parentComponent?: ComponentInternalInstance | null, slotScopeId?: string): SSRBuffer | Promise<SSRBuffer>; | ||
| export declare function ssrRenderComponent(comp: Component | string, props?: Props | null, children?: Slots | SSRSlots | null, parentComponent?: ComponentInternalInstance | null, slotScopeId?: string): SSRBuffer | Promise<SSRBuffer>; | ||
| //#endregion | ||
@@ -46,0 +46,0 @@ //#region temp/packages/server-renderer/src/helpers/ssrRenderTeleport.d.ts |
| /** | ||
| * @vue/server-renderer v3.6.0-beta.11 | ||
| * @vue/server-renderer v3.6.0-beta.12 | ||
| * (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -58,2 +58,7 @@ * @license MIT | ||
| function ssrRenderComponent(comp, props = null, children = null, parentComponent = null, slotScopeId) { | ||
| if (isString(comp)) { | ||
| const { getBuffer, push } = createBuffer(); | ||
| renderVNode(push, createVNode(comp, props, children), parentComponent, slotScopeId); | ||
| return getBuffer(); | ||
| } | ||
| return renderComponentVNode(createVNode(comp, props, children), parentComponent, slotScopeId); | ||
@@ -60,0 +65,0 @@ } |
+4
-4
| { | ||
| "name": "@vue/server-renderer", | ||
| "version": "3.6.0-beta.11", | ||
| "version": "3.6.0-beta.12", | ||
| "description": "@vue/server-renderer", | ||
@@ -49,8 +49,8 @@ "main": "index.js", | ||
| "peerDependencies": { | ||
| "vue": "3.6.0-beta.11" | ||
| "vue": "3.6.0-beta.12" | ||
| }, | ||
| "dependencies": { | ||
| "@vue/shared": "3.6.0-beta.11", | ||
| "@vue/compiler-ssr": "3.6.0-beta.11" | ||
| "@vue/shared": "3.6.0-beta.12", | ||
| "@vue/compiler-ssr": "3.6.0-beta.12" | ||
| } | ||
| } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
450112
0.2%9990
0.28%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated