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