]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix: avoid double inserting root component
authorEvan You <yyx990803@gmail.com>
Wed, 19 Sep 2018 16:05:33 +0000 (12:05 -0400)
committerEvan You <yyx990803@gmail.com>
Wed, 19 Sep 2018 16:05:33 +0000 (12:05 -0400)
packages/core/src/createRenderer.ts

index 5bf816be9a464bb8bf224c7ad8ff1e439b0dc113..ddae8cf435e7c554f307fe3a5816f29883a92b6c 100644 (file)
@@ -265,7 +265,7 @@ export function createRenderer(options: RendererOptions) {
       el = mountComponentInstance(
         vnode,
         tag as ComponentClass,
-        container,
+        null,
         parentComponent,
         isSVG,
         endNode