1
0
mirror of https://github.com/flarum/core.git synced 2025-07-16 14:26:25 +02:00

Use new Frontend extender

See flarum/core#851.
This commit is contained in:
Franz Liedke
2018-07-23 16:28:34 +02:00
parent 25e7e2aa4c
commit f218f14160

View File

@ -17,11 +17,11 @@ use Flarum\Flags\Listener;
use Illuminate\Contracts\Events\Dispatcher;
return [
(new Extend\Assets('forum'))
(new Extend\Frontend('forum'))
->js(__DIR__.'/js/dist/forum.js')
->asset(__DIR__.'/less/forum.less'),
->css(__DIR__.'/less/forum.less'),
(new Extend\Assets('admin'))
(new Extend\Frontend('admin'))
->js(__DIR__.'/js/dist/admin.js'),
(new Extend\Routes('api'))