Files
opencloud/settings/ui/app.js
A.Unger f725ddaa65 Add 'settings/' from commit '230545a4a75b0611988fbcea51336a6c316d6a3d'
git-subtree-dir: settings
git-subtree-mainline: c26f7b390a
git-subtree-split: 230545a4a7
2020-09-18 12:43:43 +02:00

45 lines
693 B
JavaScript

import 'regenerator-runtime/runtime'
import SettingsApp from './components/SettingsApp.vue'
import store from './store'
// just a dummy function to trick gettext tools
function $gettext (msg) {
return msg
}
const appInfo = {
name: $gettext('Settings'),
id: 'settings',
icon: 'application',
isFileEditor: false,
extensions: []
}
const routes = [
{
name: 'settings',
path: '/:extension?',
components: {
app: SettingsApp
}
}
]
const navItems = [
{
name: $gettext('Settings'),
iconMaterial: appInfo.icon,
route: {
name: 'settings',
path: `/${appInfo.id}/`
}
}
]
export default {
appInfo,
store,
routes,
navItems
}