mirror of
https://github.com/nextcloud/server.git
synced 2026-02-11 14:54:02 -05:00
This improves the debugging experience in the vue dev tool. Signed-off-by: Louis Chemineau <louis@chmn.me>
23 lines
558 B
JavaScript
23 lines
558 B
JavaScript
/**
|
|
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
import Vue from 'vue'
|
|
|
|
import ContactsMenu from '../views/ContactsMenu.vue'
|
|
|
|
/**
|
|
* @todo move to contacts menu code https://github.com/orgs/nextcloud/projects/31#card-21213129
|
|
*/
|
|
export const setUp = () => {
|
|
const mountPoint = document.getElementById('contactsmenu')
|
|
if (mountPoint) {
|
|
// eslint-disable-next-line no-new
|
|
new Vue({
|
|
name: 'ContactsMenuRoot',
|
|
el: mountPoint,
|
|
render: h => h(ContactsMenu),
|
|
})
|
|
}
|
|
}
|