stephenjude / filament-blog

A faceless blog content manager with configurable richtext and markdown support for filament admin panel
MIT License
147 stars 34 forks source link

When add plugin to admin provider get error #50

Closed almodroid closed 4 months ago

almodroid commented 4 months ago

Filament Blog Version

Latest

Filament Version

v3.2

Laravel Version

v10

Livewire Version

v3

PHP Version

Php 8.2

Problem description

After installing when I add the plugin to the admin provider when I refresh the page got an error says

Class "App\Providers\Filament\Stephenjude\FilamentBlog\BlogPlugin" not found IMG_9001 Thank you very much for sharing and supporting

Expected behavior

The plugin get recognized and no error appears

Steps to reproduce

Just visit the admin page it is not working

Reproduction repository

https://github.com/

Relevant log output

No response

stephenjude commented 4 months ago

Hi @almodroid

According to your screenshot, the namespace you imported is wrong.

It should be this:

use Stephenjude\FilamentBlog\BlogPlugin;

...

$panel->plugin(BlogPlugin::make())