Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kateengland-moore opened this issue Nov 8, 2024 · 1 comment
Open

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

kateengland-moore opened this issue Nov 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kateengland-moore
Copy link

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

@kateengland-moore kateengland-moore added the bug Something isn't working label Nov 8, 2024
@kateengland-moore kateengland-moore changed the title [Bug]: [Bug]: Assets not loaded making slider unusable Nov 8, 2024
@sheepbild
Copy link

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants