how to add pages and live wire in custom plugin
i am using this github repo-https://github.com/filamentphp/plugin-skeleton
and when i add pages inside sourcer it give error
Class "chats\chats\chats" not found
at vendor/filament/filament/src/PluginServiceProvider.php:81
77▕
78▕ public function packageBooted(): void
79▕ {
80▕ foreach ($this->getPages() as $page) {
➜ 81▕ Livewire::component($page::getName(), $page);
82▕ }
83▕
84▕ foreach ($this->getRelationManagers() as $manager) {
85▕ if ($manager instanceof RelationGroup) {
+8 vendor frames
9 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation{closure}()
+5 vendor frames
15 artisan:37
Illuminate\Foundation\Console\Kernel::handle()
and where can i place livewire
of that page
and when i add pages inside sourcer it give error
Class "chats\chats\chats" not found
at vendor/filament/filament/src/PluginServiceProvider.php:81
77▕
78▕ public function packageBooted(): void
79▕ {
80▕ foreach ($this->getPages() as $page) {
➜ 81▕ Livewire::component($page::getName(), $page);
82▕ }
83▕
84▕ foreach ($this->getRelationManagers() as $manager) {
85▕ if ($manager instanceof RelationGroup) {
+8 vendor frames
9 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation{closure}()
+5 vendor frames
15 artisan:37
Illuminate\Foundation\Console\Kernel::handle()
and where can i place livewire
of that page
GitHub
A package skeleton for developing Filament plugins. - GitHub - filamentphp/plugin-skeleton: A package skeleton for developing Filament plugins.