mirror of
https://github.com/flarum/framework.git
synced 2025-05-24 23:59:57 +08:00
Replace Ember app with Mithril app
This commit is contained in:
5
js/lib/initializers/preload.js
Normal file
5
js/lib/initializers/preload.js
Normal file
@ -0,0 +1,5 @@
|
||||
export default function(app) {
|
||||
if (app.preload.data) {
|
||||
app.store.pushPayload({data: app.preload.data});
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user