mirror of
https://github.com/nextcloud/server.git
synced 2026-11-19 10:28:06 +01:00
16 lines
459 B
JavaScript
16 lines
459 B
JavaScript
/*!
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
import { createApp } from 'vue'
|
|
import DashboardApp from './DashboardApp.vue'
|
|
|
|
const app = createApp(DashboardApp)
|
|
const Instance = app.mount('#app-content-vue')
|
|
|
|
window.OCA.Dashboard = {
|
|
register: (app, callback) => Instance.register(app, callback),
|
|
registerStatus: (app, callback) => Instance.registerStatus(app, callback),
|
|
}
|