how to register cluster in a plugin ?
If we develop a plugin and want to register a resource we can use
$page->resource([XXX:class])
but how to register a Cluster ?Solution:Jump to solution
add new clusterDiscovery in our Plugin , like ;
$panel->discoverClusters(in: __DIR__.'/Filament/Clusters', for: 'Namespace')
...1 Reply
Solution
add new clusterDiscovery in our Plugin , like ;
$panel->discoverClusters(in: __DIR__.'/Filament/Clusters', for: 'Namespace')