Skip to content

[Bug]: Assets not loaded making slider unusable #9

@kateengland-moore

Description

@kateengland-moore

What happened?

I am getting 404 errors on all of the assets (js and css) which means the slider does not render at all.

How to reproduce the bug

WHEN I install the package using composer
AND I use the example code to display any sort of slider
THEN I cannot see the slider
AND I see 404 errors in my console

Package Version

1.0.1

PHP Version

8.3.12

Laravel Version

11.9

Which operating systems does with happen with?

Windows

Notes

I think this is to do with the path's specified in the configurePackage() and getAssets() functions - they seem to be starting at root, and not from within the plugin folder.

e.g. http://localhost/css/rupadana/filament-slider/filament-slider.css instead of http://localhost/rupadana/filament-slider/css/filament-slider.css?v=1.0.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions