]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/vues/vues.js
Polish translation
[bookstack] / resources / assets / js / vues / vues.js
index 832a5415df53eb50b9edc909483a93eea8c85fa0..31d833bfb864a8308e87a062f0a353e2073f35fc 100644 (file)
@@ -5,13 +5,17 @@ function exists(id) {
 }
 
 let vueMapping = {
-    'search-system': require('./search')
+    'search-system': require('./search'),
+    'entity-dashboard': require('./entity-search'),
+    'code-editor': require('./code-editor')
 };
 
+window.vues = {};
+
 Object.keys(vueMapping).forEach(id => {
     if (exists(id)) {
         let config = vueMapping[id];
         config.el = '#' + id;
-        new Vue(config);
+        window.vues[id] = new Vue(config);
     }
 });
\ No newline at end of file