mirror of
https://github.com/flarum/framework.git
synced 2025-03-02 19:58:57 +08:00
23 lines
473 B
JavaScript
23 lines
473 B
JavaScript
import 'expose-loader?punycode!punycode';
|
|
import 'expose-loader?ColorThief!color-thief-browser';
|
|
|
|
import ForumApplication from './ForumApplication';
|
|
|
|
const app = new ForumApplication();
|
|
|
|
// Backwards compatibility
|
|
window.app = app;
|
|
|
|
export { app };
|
|
|
|
// Export public API
|
|
// export { default as Extend } from './Extend';
|
|
// export { IndexPage, DicsussionList } from './components';
|
|
|
|
// Export compat API
|
|
import compat from './compat';
|
|
|
|
compat.app = app;
|
|
|
|
export { compat };
|