blob: 1ae8964149afadee5b5e7e0205e31761470d4598 (
plain)
1
2
3
4
5
6
7
8
9
10
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)
})
})
|