Skip to content

How to register the plugin to a panel? #64

Closed Answered by yakou32
yakou32 asked this question in Q&A
Discussion options

You must be logged in to vote

The solution was in the readme 😇

use Leandrocfe\FilamentApexCharts\FilamentApexChartsPlugin;
public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            FilamentApexChartsPlugin::make()
        ]);
}

This is to be added to the panel provider - e.g. AdminPanelProvider.php.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yakou32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant