mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 20:16:39 -04:00
28 lines
640 B
React
28 lines
640 B
React
![]() |
import React from 'react';
|
||
|
import Router from './router.js'
|
||
|
import {mount} from 'react-mounter';
|
||
|
|
||
|
import Cheatsheet from './components/Cheatsheet.jsx';
|
||
|
import Settings from './components/Settings.jsx';
|
||
|
import Emails from './components/Emails.jsx';
|
||
|
|
||
|
Router.route('/cheatsheet', {
|
||
|
name: 'cheatsheet',
|
||
|
action() {
|
||
|
mount(Telescope.components.App, {content: <Cheatsheet/>});
|
||
|
}
|
||
|
});
|
||
|
|
||
|
Router.route('/settings', {
|
||
|
name: 'settings',
|
||
|
action() {
|
||
|
mount(Telescope.components.App, {content: <Settings/>});
|
||
|
}
|
||
|
});
|
||
|
|
||
|
Router.route('/emails', {
|
||
|
name: 'emails',
|
||
|
action() {
|
||
|
mount(Telescope.components.App, {content: <Emails/>});
|
||
|
}
|
||
|
});
|