mCaptcha/templates/index.js

17 lines
436 B
JavaScript
Raw Normal View History

2021-04-09 11:51:43 +03:00
import {Router} from './router';
import * as login from './auth/login';
import * as register from './auth/register';
import * as panel from './panel/index';
2021-04-30 15:00:40 +03:00
import './auth/forms.scss';
import './panel/main.scss';
2021-04-09 11:51:43 +03:00
const router = new Router();
2021-04-30 15:36:28 +03:00
router.register('/', panel.index);
2021-04-30 15:00:40 +03:00
router.register('/register', register.index);
2021-04-30 15:36:28 +03:00
router.register('/login', login.index);
2021-04-09 11:51:43 +03:00
router.register('/panel/layout.html/', panel.index);
router.route();