summaryrefslogtreecommitdiffstats
path: root/src/dashboard-feeds.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/dashboard-feeds.js')
-rw-r--r--src/dashboard-feeds.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/dashboard-feeds.js b/src/dashboard-feeds.js
new file mode 100644
index 000000000..1ae896414
--- /dev/null
+++ b/src/dashboard-feeds.js
@@ -0,0 +1,11 @@
+import Vue from 'vue'
+import NewsFeedWidget from './components/FeedDashboard.vue'
+
+document.addEventListener('DOMContentLoaded', () => {
+ console.log("I'm alive")
+ OCA.Dashboard.register('news-feed-widget', (el) => {
+ console.log("Dashboard registered")
+ const View = Vue.extend(NewsFeedWidget)
+ new View().$mount(el)
+ })
+})