2020-09-21 12:25:50 +00:00
|
|
|
/*
|
2024-02-02 18:27:50 +00:00
|
|
|
* Copyright (c) 2020-2024. The Nextcloud Bookmarks contributors.
|
2019-08-28 22:35:15 +00:00
|
|
|
*
|
2020-09-21 12:25:50 +00:00
|
|
|
* This file is licensed under the Affero General Public License version 3 or later. See the COPYING file.
|
2019-08-28 22:35:15 +00:00
|
|
|
*/
|
2019-09-24 15:18:29 +00:00
|
|
|
import Vue from 'vue'
|
2022-12-12 19:29:03 +00:00
|
|
|
import { Tooltip } from '@nextcloud/vue'
|
|
|
|
import App from './components/ViewAdmin.vue'
|
|
|
|
import store from './store/index.js'
|
|
|
|
import AppGlobal from './mixins/AppGlobal.js'
|
2021-03-30 11:21:18 +00:00
|
|
|
import { Store } from 'vuex'
|
2019-08-28 22:35:15 +00:00
|
|
|
|
2019-09-24 15:18:29 +00:00
|
|
|
Vue.mixin(AppGlobal)
|
|
|
|
Vue.directive('tooltip', Tooltip)
|
2019-08-28 22:35:15 +00:00
|
|
|
|
2020-08-02 13:53:33 +00:00
|
|
|
const BookmarksApp = (global.Bookmarks = new Vue({
|
2019-08-28 22:35:15 +00:00
|
|
|
el: '#bookmarks',
|
2021-03-30 11:21:18 +00:00
|
|
|
store: new Store(store),
|
2019-12-10 21:33:54 +00:00
|
|
|
render: h => h(App),
|
2019-09-24 15:18:29 +00:00
|
|
|
}))
|
2019-08-28 22:35:15 +00:00
|
|
|
|
2019-09-24 15:18:29 +00:00
|
|
|
export default BookmarksApp
|