Skip to content

Commit

Permalink
Use php fof/components, update and build dist
Browse files Browse the repository at this point in the history
  • Loading branch information
karaok491 committed Nov 5, 2020
1 parent 4b68a00 commit 222e9f7
Show file tree
Hide file tree
Showing 8 changed files with 617 additions and 969 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"license": "MIT",
"require": {
"flarum/core": "^0.1.0-beta.14",
"fof/components": ">=0.1.1",
"fof/components": ">=0.2.0",
"guzzlehttp/guzzle": "6.*"
},
"authors": [
Expand Down
2 changes: 2 additions & 0 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Flarum\Frontend\Document;
use Flarum\Post\Post;
use Flarum\Settings\Event\Saving;
use FoF\Components\Extend\AddFofComponents;
use FoF\GeoIP\Api\GeoIP;
use FoF\GeoIP\Repositories\GeoIPRepository;
use Illuminate\Events\Dispatcher;
Expand All @@ -23,6 +24,7 @@
ini_set('display_errors', 1);

return [
new AddFofComponents(),
(new Extend\Frontend('forum'))
->js(__DIR__.'/js/dist/forum.js')
->css(__DIR__.'/resources/less/forum.less'),
Expand Down
2 changes: 1 addition & 1 deletion js/dist/admin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 222e9f7

Please sign in to comment.