Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dashboard.js « src - github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e9ef6760c27df7f59c384b2ee745ce4f0b7b6f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
import Vue from 'vue'
import Dashboard from './components/Dashboard.vue'

Vue.mixin({ methods: { t, n } })

document.addEventListener('DOMContentLoaded', () => {
	OCA.Dashboard.register('notes', (el) => {
		const View = Vue.extend(Dashboard)
		new View().$mount(el)
	})
})