Merge pull request #9 from filamentphp/fix/resource-paths

Fix: Update resource paths in service provider
This commit is contained in:
Adam Weston
2022-09-14 16:54:47 -04:00
committed by GitHub

View File

@@ -22,15 +22,15 @@ class SkeletonServiceProvider extends PluginServiceProvider
]; ];
protected array $styles = [ protected array $styles = [
'plugin-skeleton' => __DIR__ . '/../dist/skeleton.css', 'plugin-skeleton' => __DIR__ . '/../resources/dist/skeleton.css',
]; ];
protected array $scripts = [ protected array $scripts = [
'plugin-skeleton' => __DIR__ . '/../dist/skeleton.js', 'plugin-skeleton' => __DIR__ . '/../resources/dist/skeleton.js',
]; ];
// protected array $beforeCoreScripts = [ // protected array $beforeCoreScripts = [
// 'plugin-skeleton' => __DIR__ . '/../dist/skeleton.js', // 'plugin-skeleton' => __DIR__ . '/../resources/dist/skeleton.js',
// ]; // ];
public function configurePackage(Package $package): void public function configurePackage(Package $package): void