repod/src/main.js

17 lines
410 B
JavaScript
Raw Normal View History

2023-07-02 16:30:42 +00:00
import { translatePlural as n, translate as t } from '@nextcloud/l10n'
2023-06-23 07:44:48 +00:00
import App from './App.vue'
2023-07-02 16:30:42 +00:00
import Vue from 'vue'
import { generateFilePath } from '@nextcloud/router'
import router from './router.js'
2023-06-22 18:10:30 +00:00
// eslint-disable-next-line
__webpack_public_path__ = generateFilePath(appName, '', 'js/')
Vue.mixin({ methods: { t, n } })
export default new Vue({
el: '#content',
2023-07-02 16:30:42 +00:00
router,
2023-06-22 18:10:30 +00:00
render: h => h(App),
})