repod/src/main.js

19 lines
456 B
JavaScript
Raw Normal View History

2024-01-10 14:25:54 +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-08-28 22:47:22 +00:00
import store from './store/main.js'
2023-06-22 18:10:30 +00:00
// eslint-disable-next-line
__webpack_public_path__ = generateFilePath(appName, '', 'js/')
Vue.mixin({ methods: { t, n } })
2023-07-07 16:38:53 +00:00
2023-06-22 18:10:30 +00:00
export default new Vue({
el: '#content',
2023-07-02 16:30:42 +00:00
router,
2023-07-07 16:38:53 +00:00
store,
render: (h) => h(App),
2023-06-22 18:10:30 +00:00
})