Skip to content

Commit

Permalink
chore: only import from listed peer dep
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 26, 2020
1 parent 8c675b5 commit c5c4046
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/server-renderer/src/helpers/ssrCompile.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ComponentInternalInstance, warn } from '@vue/runtime-core'
import { ComponentInternalInstance, warn } from 'vue'
import { compile } from '@vue/compiler-ssr'
import { generateCodeFrame, NO } from '@vue/shared'
import { CompilerError } from '@vue/compiler-core'
Expand Down
7 changes: 1 addition & 6 deletions packages/server-renderer/src/helpers/ssrRenderComponent.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import {
Component,
ComponentInternalInstance,
createVNode,
Slots
} from '@vue/runtime-core'
import { Component, ComponentInternalInstance, createVNode, Slots } from 'vue'
import { Props, renderComponentVNode, SSRBuffer } from '../render'
import { SSRSlots } from './ssrRenderSlot'

Expand Down
2 changes: 1 addition & 1 deletion packages/server-renderer/src/helpers/ssrRenderSlot.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ComponentInternalInstance, Slot, Slots } from '@vue/runtime-core'
import { ComponentInternalInstance, Slot, Slots } from 'vue'
import { Props, PushFn, renderVNodeChildren } from '../render'

export type SSRSlots = Record<string, SSRSlot>
Expand Down
2 changes: 1 addition & 1 deletion packages/server-renderer/src/helpers/ssrRenderTeleport.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ComponentInternalInstance, ssrContextKey } from '@vue/runtime-core'
import { ComponentInternalInstance, ssrContextKey } from 'vue'
import { createBuffer, PushFn, SSRBufferItem, SSRContext } from '../render'

export function ssrRenderTeleport(
Expand Down
2 changes: 1 addition & 1 deletion packages/server-renderer/src/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
VNodeArrayChildren,
VNodeProps,
warn
} from '@vue/runtime-core'
} from 'vue'
import {
escapeHtml,
escapeHtmlComment,
Expand Down

0 comments on commit c5c4046

Please sign in to comment.