mirror of
https://github.com/flarum/framework.git
synced 2025-01-20 16:24:58 +08:00
18 lines
466 B
JavaScript
18 lines
466 B
JavaScript
import App from 'flarum/App';
|
|
import store from 'flarum/initializers/store';
|
|
import preload from 'flarum/initializers/preload';
|
|
import routes from 'flarum/initializers/routes';
|
|
import boot from 'flarum/initializers/boot';
|
|
|
|
const app = new App();
|
|
|
|
app.initializers.add('store', store);
|
|
app.initializers.add('routes', routes);
|
|
|
|
app.initializers.add('preload', preload, -100);
|
|
app.initializers.add('boot', boot, -100);
|
|
|
|
app.extensionSettings = {};
|
|
|
|
export default app;
|