File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ function render(
24
24
const baseElement = customBaseElement || customContainer || document . body
25
25
const container = customContainer || baseElement . appendChild ( div )
26
26
27
- const attachTo = document . createElement ( 'div' )
28
- container . appendChild ( attachTo )
29
-
30
27
// const localVue = createLocalVue()
31
28
let vuexStore = null
32
29
let router = null
@@ -65,13 +62,16 @@ function render(
65
62
// localVue,
66
63
// router,
67
64
// store: vuexStore,
68
- attachTo,
65
+ attachTo : container ,
69
66
...mountOptions ,
70
67
...additionalOptions ,
71
68
} )
72
69
73
70
mountedWrappers . add ( wrapper )
74
- container . appendChild ( wrapper . element )
71
+
72
+ // hack to remove id="app"
73
+ // this fixes tests in auto-cleanup.js and auto-cleanup-skip.js
74
+ wrapper . parentElement . removeAttribute ( 'id' )
75
75
76
76
return {
77
77
container,
You can’t perform that action at this time.
0 commit comments