generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
229701e
commit b299a26
Showing
62 changed files
with
435 additions
and
1,590 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,33 @@ | ||
<?php | ||
|
||
return [ | ||
/* | ||
|-------------------------------------------------------------------------- | ||
| Directives | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This controls components registration. | ||
| | ||
*/ | ||
use Foxws\WireUse\Support\Html\Mixins\BaseElementMixin; | ||
use Foxws\WireUse\Support\Html\Mixins\HtmlExtendedMixin; | ||
use Foxws\WireUse\Support\Html\Mixins\ImgElementMixin; | ||
use Foxws\WireUse\Support\Html\Mixins\LinkElementMixin; | ||
use Spatie\Html\BaseElement; | ||
use Spatie\Html\Elements; | ||
use Spatie\Html\Html; | ||
|
||
'register_macros' => true, | ||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Components | ||
| Laravel HTML | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This controls components registration. | ||
| This extends Laravel HTML. | ||
| | ||
*/ | ||
|
||
'register_components' => true, | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Views | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This controls views registration. | ||
| @doc https://spatie.be/docs/laravel-html/v3 | ||
| | ||
*/ | ||
|
||
'view_prefix' => 'wireuse', | ||
'html' => [ | ||
'mixins' => [ | ||
Html::class => HtmlExtendedMixin::class, | ||
BaseElement::class => BaseElementMixin::class, | ||
Elements\A::class => LinkElementMixin::class, | ||
Elements\Img::class => ImgElementMixin::class, | ||
], | ||
], | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.