mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 14:13:37 +08:00
16 lines
661 B
JavaScript
16 lines
661 B
JavaScript
|
import DashboardPage from 'flarum/components/dashboard-page';
|
||
|
import BasicsPage from 'flarum/components/basics-page';
|
||
|
import PermissionsPage from 'flarum/components/permissions-page';
|
||
|
import AppearancePage from 'flarum/components/appearance-page';
|
||
|
import ExtensionsPage from 'flarum/components/extensions-page';
|
||
|
|
||
|
export default function(app) {
|
||
|
app.routes = {
|
||
|
'dashboard': ['/', DashboardPage.component()],
|
||
|
'basics': ['/basics', BasicsPage.component()],
|
||
|
'permissions': ['/permissions', PermissionsPage.component()],
|
||
|
'appearance': ['/appearance', AppearancePage.component()],
|
||
|
'extensions': ['/extensions', ExtensionsPage.component()]
|
||
|
};
|
||
|
}
|