We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aacc7b commit ea2c55aCopy full SHA for ea2c55a
src/Preview/PreviewPlugin.php
@@ -23,13 +23,13 @@ public function register(Panel $panel): void
23
24
if ($this->shouldLoadPluginScripts()) {
25
FilamentAsset::register([
26
- Assets\Js::make(static::ID, __DIR__ . '/../resources/dist/filament-peek.js'),
+ Assets\Js::make(static::ID, base_path('vendor/pboivin/filament-peek/resources/dist/filament-peek.js')),
27
], package: static::PACKAGE);
28
}
29
30
if ($this->shouldLoadPluginStyles()) {
31
32
- Assets\Css::make(static::ID, __DIR__ . '/../resources/dist/filament-peek.css'),
+ Assets\Css::make(static::ID, base_path('vendor/pboivin/filament-peek/resources/dist/filament-peek.css')),
33
34
35
0 commit comments