mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 00:43:39 +08:00
19 lines
266 B
JavaScript
19 lines
266 B
JavaScript
|
import AdminApplication from './AdminApplication';
|
||
|
|
||
|
const app = new AdminApplication();
|
||
|
|
||
|
// Backwards compatibility
|
||
|
window.app = app;
|
||
|
|
||
|
export { app };
|
||
|
|
||
|
// Export public API
|
||
|
|
||
|
|
||
|
// Export compat API
|
||
|
import compat from './compat';
|
||
|
|
||
|
compat.app = app;
|
||
|
|
||
|
export { compat };
|