mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
Ignore el property in Vue configs for Vue v2
This commit is contained in:
parent
a2386e5a59
commit
bc2e091937
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user