mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
p.s: I would like to be able to select a particular tag to show, but none of the dashboard widgets are configurable. I hate increasing the app size from 300k to almost 3 mb for something so simple, but we must adapt to the majority and use vue here.
12 lines
278 B
JavaScript
12 lines
278 B
JavaScript
import Vue from 'vue'
|
|
import Dashboard from './components/Dashboard.vue'
|
|
|
|
Vue.mixin({ methods: { t, n } })
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
OCA.Dashboard.register('quicknotes', (el) => {
|
|
const View = Vue.extend(Dashboard)
|
|
new View().$mount(el)
|
|
})
|
|
})
|