mirror of
https://github.com/flarum/framework.git
synced 2024-11-27 02:53:37 +08:00
Use new Frontend extender (#5)
* Update bootstrap.php * Update bootstrap.php
This commit is contained in:
parent
522bae8f30
commit
7672d610c3
|
@ -14,9 +14,9 @@ use Flarum\Statistics\Listener;
|
|||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
|
||||
return [
|
||||
(new Extend\Assets('admin'))
|
||||
(new Extend\Frontend('admin'))
|
||||
->js(__DIR__.'/js/dist/admin.js')
|
||||
->asset(__DIR__.'/less/admin.less'),
|
||||
->css(__DIR__.'/less/admin.less'),
|
||||
|
||||
function (Dispatcher $events) {
|
||||
$events->subscribe(Listener\AddStatisticsData::class);
|
||||
|
|
Loading…
Reference in New Issue
Block a user