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

Loading css failed #10

Open
replusminus opened this issue Oct 20, 2023 · 3 comments
Open

Loading css failed #10

replusminus opened this issue Oct 20, 2023 · 3 comments

Comments

@replusminus
Copy link

using rails 7 with stimulus and I'm not able to load the css in the application.js with

import 'lightgallery/css/lightgallery.css' 

due to error

Uncaught TypeError: Failed to resolve module specifier "lightgallery/css/lightgallery.css". Relative references must start with either "/", "./", or "../".

as indicated in https://www.stimulus-components.com/docs/stimulus-lightbox/ under usage section

@myanch200
Copy link

I am having the same issue, I had to download the file myself, but then I have the problem of loading the fonts as well

@Jessicasciani
Copy link

Hello
Any update about this by any chance?
I have the same issue

@MSchmidt
Copy link

Same. But even it would work, I don't want a lightbox to load it's own fonts. Would be great to have something ligher as dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants