Files
directus/src/modules/settings/index.ts
Rijk van Zanten 031bae4ac8 Modules store and bar (#112)
* Register views globally

* Use global private view in debug route

* Register login route

* Add barebones login form

* Add auth check on routing

* Add tests and extract checkAuth function

* Fix tests of router

* Move stores into subfolders

* Register modules from modules store

* Register name / icon in modules store

* Update module configs

* Render v-button in module sidebar

* Render correct paths in module sidebar

* Add activated style to button

* Use correct color for button in module bar

* Use correct icons for system modules

* Add tests for modules store

* Remove readme in favor of inline comments
2020-02-19 15:21:54 -05:00

17 lines
276 B
TypeScript

import { ModuleConfig } from '@/types/modules';
import Settings from './settings.vue';
const config: ModuleConfig = {
id: 'settings',
icon: 'settings',
name: i18n => i18n.t('settings'),
routes: [
{
path: '/',
component: Settings
}
]
};
export default config;