parent
eca4d7891a
commit
de32cfa43e
@ -157,7 +157,11 @@ export const defineSSRCustomElement = ((options: any) => {
|
||||
return defineCustomElement(options, hydrate)
|
||||
}) as typeof defineCustomElement
|
||||
|
||||
export class VueElement extends HTMLElement {
|
||||
const BaseClass = (typeof HTMLElement !== 'undefined'
|
||||
? HTMLElement
|
||||
: class {}) as typeof HTMLElement
|
||||
|
||||
export class VueElement extends BaseClass {
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @jest-environment node
|
||||
*/
|
||||
|
||||
import {
|
||||
createApp,
|
||||
h,
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @jest-environment node
|
||||
*/
|
||||
|
||||
import { createApp } from 'vue'
|
||||
import { renderToString } from '../src/renderToString'
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @jest-environment node
|
||||
*/
|
||||
|
||||
import { renderToString } from '../src/renderToString'
|
||||
import {
|
||||
createApp,
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @jest-environment node
|
||||
*/
|
||||
|
||||
import { createApp, createVNode } from 'vue'
|
||||
import { renderToString } from '../src/renderToString'
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @jest-environment node
|
||||
*/
|
||||
|
||||
import { ssrInterpolate } from '../src/helpers/ssrInterpolate'
|
||||
import { escapeHtml } from '@vue/shared'
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @jest-environment node
|
||||
*/
|
||||
|
||||
import {
|
||||
ssrRenderAttrs,
|
||||
ssrRenderClass,
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @jest-environment node
|
||||
*/
|
||||
|
||||
import { ssrRenderList } from '../src/helpers/ssrRenderList'
|
||||
|
||||
describe('ssr: renderList', () => {
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @jest-environment node
|
||||
*/
|
||||
|
||||
import { createApp, h, mergeProps, withCtx } from 'vue'
|
||||
import { renderToString } from '../src/renderToString'
|
||||
import { ssrRenderComponent, ssrRenderAttrs, ssrRenderSlot } from '../src'
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @jest-environment node
|
||||
*/
|
||||
|
||||
import { createApp, h, Suspense } from 'vue'
|
||||
import { renderToString } from '../src/renderToString'
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @jest-environment node
|
||||
*/
|
||||
|
||||
import { createApp, h, Teleport } from 'vue'
|
||||
import { renderToString } from '../src/renderToString'
|
||||
import { SSRContext } from '../src/render'
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @jest-environment node
|
||||
*/
|
||||
|
||||
import {
|
||||
ssrRenderDynamicModel,
|
||||
ssrGetDynamicModelProps
|
||||
|
Loading…
Reference in New Issue
Block a user