mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 21:11:55 +08:00
parent
607132a68f
commit
3129ee5b4b
|
@ -17,13 +17,13 @@ use Flarum\Tags\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')
|
||||
->asset(__DIR__.'/less/admin.less'),
|
||||
->css(__DIR__.'/less/admin.less'),
|
||||
|
||||
(new Extend\Routes('forum'))
|
||||
->get('/t/{slug}', 'tag', FrontendController::class)
|
||||
|
|
Loading…
Reference in New Issue
Block a user