mirror of
https://github.com/flarum/core.git
synced 2025-10-19 10:46:06 +02:00
* Run extenders exported by extensions * Add some basic extenders * Patch Mithril as the very first thing so extension code can run safely * Load the payload into the app before booting extensions * Setup default routes before booting extensions
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 };
|