diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-06-08 15:39:26 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-07-15 09:24:51 +0200 |
commit | 5a1874910bbb87551bb0195b725279c9c1a33beb (patch) | |
tree | 2617abd68c8c4161a5f110d477fa3416a3f8a337 /apps/dashboard/src/main.js | |
parent | 544fcdb549381f233dbfd9ca57cf6e7afb490104 (diff) | |
download | nextcloud-server-5a1874910bbb87551bb0195b725279c9c1a33beb.tar.gz nextcloud-server-5a1874910bbb87551bb0195b725279c9c1a33beb.zip |
Add dashboard app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/dashboard/src/main.js')
-rw-r--r-- | apps/dashboard/src/main.js | 9 |
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), +} |