blob: 5c488f2341e1df5dfe6ce59ed5bc7a3baab08379 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/**
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import Vue from 'vue'
import AccountMenu from '../views/AccountMenu.vue'
export const setUp = () => {
const mountPoint = document.getElementById('user-menu')
if (mountPoint) {
// eslint-disable-next-line no-new
new Vue({
name: 'AccountMenuRoot',
el: mountPoint,
render: h => h(AccountMenu),
})
}
}
|