Files
opencloud/ui/app.js
Benedikt Kulmann 352b633e84 Show very basic account list
This is the first step. Only shows name and email so far (because we
don't have more data). Was necessary to change the request type of the
list request to POST because it is not supported by microweb to have GET
requests.
2020-07-01 11:05:33 +02:00

40 lines
547 B
JavaScript

import 'regenerator-runtime/runtime'
import App from './components/App.vue'
import store from './store'
const appInfo = {
name: 'Accounts',
id: 'accounts',
icon: 'text-vcard',
isFileEditor: false,
extensions: []
}
const routes = [
{
name: 'accounts',
path: '/',
components: {
app: App
}
}
]
const navItems = [
{
name: 'Accounts',
iconMaterial: appInfo.icon,
route: {
name: 'accounts',
path: `/${appInfo.id}/`
}
}
]
export default {
appInfo,
routes,
navItems,
store
}