repod/src/main.js
Michel Roux 559c6f9881
Some checks failed
repod / nextcloud-25 (push) Failing after 55s
repod / nextcloud-27 (push) Failing after 41s
repod / nodejs (push) Successful in 1m40s
Top ok
2023-07-03 00:12:40 +02:00

19 lines
464 B
JavaScript

import { translatePlural as n, translate as t } from '@nextcloud/l10n'
import App from './App.vue'
import { Plugin } from 'vue-fragment'
import Vue from 'vue'
import { generateFilePath } from '@nextcloud/router'
import router from './router.js'
// eslint-disable-next-line
__webpack_public_path__ = generateFilePath(appName, '', 'js/')
Vue.mixin({ methods: { t, n } })
Vue.use(Plugin)
export default new Vue({
el: '#content',
router,
render: h => h(App),
})