4 return document.getElementById(id) !== null;
13 let ids = Object.keys(vueMapping);
14 for (let i = 0, len = ids.length; i < len; i++) {
15 if (!exists(ids[i])) continue;
16 let config = vueMapping[ids[i]];
17 config.el = '#' + ids[i];
18 window.vues[ids[i]] = new Vue(config);