1 Star 0 Fork 0

FlarumChina/formatting

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
extend.php 758 Bytes
一键复制 编辑 原始数据 按行查看 历史
<?php
/*
* This file is part of fof/formatting.
*
* Copyright (c) 2019 FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace FoF\Formatting;
use Flarum\Extend;
use FoF\Components\Extend\AddFofComponents;
use Illuminate\Events\Dispatcher;
return [
new AddFofComponents(),
(new Extend\Frontend('admin'))
->js(__DIR__.'/js/dist/admin.js')
->css(__DIR__.'/resources/less/admin.less'),
new Extend\Locales(__DIR__.'/resources/locale'),
function (Dispatcher $dispatcher) {
$dispatcher->subscribe(Listeners\FormatterConfigurator::class);
$dispatcher->subscribe(Listeners\ClearCache::class);
},
];
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/FlarumChina/formatting.git
git@gitee.com:FlarumChina/formatting.git
FlarumChina
formatting
formatting
master

搜索帮助