Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Import of components' css not working #53

Open
R-Aniruddha opened this issue May 8, 2021 · 0 comments
Open

Import of components' css not working #53

R-Aniruddha opened this issue May 8, 2021 · 0 comments

Comments

@R-Aniruddha
Copy link

I have tried to use several different components to create a carousel but none have been able to work properly.
Initially I had problems with importing css for the component
import "react-multi-carousel/lib/styles.css";
That caused an error which I fixed by adding url: false, to the next.config.js file
After that the component loads but with no styling at all.
The classes are there on the elements but with no css.

These are 2 of the many carousels I have tried to get working with this template but failed.

https://github.com/brainhubeu/react-carousel
https://github.com/YIZHUANG/react-multi-carousel

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

No branches or pull requests

1 participant