mirror of
https://github.com/filamentphp/plugin-skeleton.git
synced 2025-12-07 13:58:53 +08:00
Fix styling
This commit is contained in:
committed by
github-actions[bot]
parent
0ae390601a
commit
81ee508b06
@@ -4,8 +4,8 @@ namespace VendorName\Skeleton;
|
||||
|
||||
//use Filament\Support\Assets\Js;
|
||||
//use Filament\Support\Assets\Css;
|
||||
use Filament\Support\Assets\Asset;
|
||||
use Filament\PluginServiceProvider;
|
||||
use Filament\Support\Assets\Asset;
|
||||
use Spatie\LaravelPackageTools\Package;
|
||||
//use Filament\Support\Assets\AlpineComponent;
|
||||
use VendorName\Skeleton\Commands\SkeletonCommand;
|
||||
@@ -48,10 +48,9 @@ class SkeletonServiceProvider extends PluginServiceProvider
|
||||
protected function getAssets(): array
|
||||
{
|
||||
return [
|
||||
// AlpineComponent::make('skeleton', __DIR__ . '/../resources/dist/components/skeleton.js'),
|
||||
// Css::make('echo', __DIR__ . '/../resources/dist/skeleton.js'),
|
||||
// Js::make('echo', __DIR__ . '/../resources/dist/skeleton.js'),
|
||||
// AlpineComponent::make('skeleton', __DIR__ . '/../resources/dist/components/skeleton.js'),
|
||||
// Css::make('echo', __DIR__ . '/../resources/dist/skeleton.js'),
|
||||
// Js::make('echo', __DIR__ . '/../resources/dist/skeleton.js'),
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Filament;
|
||||
|
||||
use Filament\Context;
|
||||
use Filament\Contracts\Plugin;
|
||||
use Filament\Support\Assets\Theme;
|
||||
use Filament\Support\Facades\FilamentAsset;
|
||||
@@ -17,7 +16,7 @@ class SkeletonTheme implements Plugin
|
||||
public function register(Context $context): void
|
||||
{
|
||||
FilamentAsset::register([
|
||||
Theme::make('skeleton', __DIR__ . '/../resources/dist/skeleton.css'),
|
||||
Theme::make('skeleton', __DIR__.'/../resources/dist/skeleton.css'),
|
||||
]);
|
||||
|
||||
$context
|
||||
|
||||
Reference in New Issue
Block a user