From bf53edaee322f90f8d2f2fbb7f6c3d81c1240ee4 Mon Sep 17 00:00:00 2001 From: Guoqing Zou Date: Sat, 28 Dec 2024 11:58:30 +0000 Subject: [PATCH] feat: adjust app boot flow --- .../flarum/core/views/frontend/app.blade.php | 48 +++++++++++-------- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/packages/flarum/core/views/frontend/app.blade.php b/packages/flarum/core/views/frontend/app.blade.php index 2027af5..742eab5 100644 --- a/packages/flarum/core/views/frontend/app.blade.php +++ b/packages/flarum/core/views/frontend/app.blade.php @@ -1,32 +1,34 @@ - - - {{ $title }} + + + {{ $title }} - {!! $head !!} - + {!! $head !!} + - - {!! $layout !!} + + {!! $layout !!} - -
+ +
- + - {!! $js !!} + {!! $js !!} - + - - - {!! $foot !!} - + }; + setTimeout(() => { + boot(); + }); + + + {!! $foot !!} +