change exports

This commit is contained in:
Philipp Kühn
2021-02-28 23:24:26 +01:00
parent 4721fe451f
commit 00e673f700
4 changed files with 6 additions and 6 deletions

View File

@@ -313,7 +313,7 @@ class VueNodeView implements NodeView {
}
export default function VueNodeViewRenderer(component: Vue | VueConstructor, options?: Partial<VueNodeViewRendererOptions>): NodeViewRenderer {
export function VueNodeViewRenderer(component: Vue | VueConstructor, options?: Partial<VueNodeViewRendererOptions>): NodeViewRenderer {
return (props: NodeViewRendererProps) => {
// try to get the parent component
// this is important for vue devtools to show the component hierarchy correctly