Skip to content

Commit

Permalink
Brands - replace feature with Filament forms and table (#242)
Browse files Browse the repository at this point in the history
* Brands - replace feature with Filament forms and table

* fix code formatting

---------

Co-authored-by: mckenziearts <[email protected]>
  • Loading branch information
mckenziearts and mckenziearts authored Mar 29, 2024
1 parent 7763b8a commit 0ae3491
Show file tree
Hide file tree
Showing 60 changed files with 1,689 additions and 1,017 deletions.
2 changes: 2 additions & 0 deletions packages/admin/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"bacon/bacon-qr-code": "^2.0",
"danharrin/livewire-rate-limiting": "^0.3|^1.0",
"filament/forms": "^3.2",
"filament/spatie-laravel-media-library-plugin": "^3.2",
"filament/tables": "^3.2",
"gehrisandro/tailwind-merge-laravel": "^1.2",
"illuminate/console": "^10.0|^11.0",
"illuminate/contracts": "^10.0|^11.0",
Expand Down
11 changes: 5 additions & 6 deletions packages/admin/config/components/brand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

declare(strict_types=1);

use Shopper\Livewire\Components;
use Shopper\Livewire\Pages;
use Shopper\Livewire;

return [

Expand All @@ -13,7 +12,9 @@
|--------------------------------------------------------------------------
*/

'pages' => [],
'pages' => [
'index' => Livewire\Pages\Brand\Index::class,
],

/*
|--------------------------------------------------------------------------
Expand All @@ -22,9 +23,7 @@
*/

'components' => [
'brands.browse' => Components\Brands\Browse::class,
'brands.create' => Components\Brands\Create::class,
'brands.edit' => Components\Brands\Edit::class,
'slide-overs.brand-form' => Livewire\SlideOvers\BrandForm::class,
],

];
2 changes: 1 addition & 1 deletion packages/admin/config/components/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

'components' => [
// 'search' => Components\Search::class,
'side-panel' => Components\SidePanel::class,
'side-panel' => Components\SlideOverPanel::class,
],

];
Loading

0 comments on commit 0ae3491

Please sign in to comment.