Ignore el property in Vue configs for Vue v2

This commit is contained in:
John Hildenbiddle 2020-10-16 00:06:42 -05:00
parent a2386e5a59
commit bc2e091937

View File

@ -185,6 +185,7 @@ function renderMain(html) {
mountElm.setAttribute(isVueAttr, '');
if (vueVersion === 2) {
vueConfig.el = undefined;
new window.Vue(vueConfig).$mount(mountElm);
} else if (vueVersion === 3) {
const app = window.Vue.createApp(vueConfig);