mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 20:29:54 -06:00
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.
40 lines
547 B
JavaScript
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
|
|
}
|