summaryrefslogtreecommitdiffstats
path: root/apps/dashboard/src/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dashboard/src/main.js')
-rw-r--r--apps/dashboard/src/main.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/dashboard/src/main.js b/apps/dashboard/src/main.js
new file mode 100644
index 00000000000..998f538356b
--- /dev/null
+++ b/apps/dashboard/src/main.js
@@ -0,0 +1,9 @@
+import Vue from 'vue'
+import App from './App.vue'
+
+const Dashboard = Vue.extend(App)
+const Instance = new Dashboard({}).$mount('#app')
+
+window.OCA.Dashboard = {
+ register: (app, callback) => Instance.register(app, callback),
+}