mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
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
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import { ModuleConfig } from '@/modules/types';
|
||||
import { ModuleConfig } from '@/types/modules';
|
||||
import Settings from './settings.vue';
|
||||
|
||||
const config: ModuleConfig = {
|
||||
id: 'settings',
|
||||
icon: 'settings',
|
||||
name: i18n => i18n.t('settings'),
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
|
||||
Reference in New Issue
Block a user