简体   繁体   中英

Module Not Found, can't resolve slick-carousel/slick/slick.css. I am getting this error when try this reacy-slick on next js project

When I am developing an app using next js, I try to wondering how I can add some carousel like slick to show some image I need. Following properly the user guide in the official documentation untill I import some css dile needed and it goes to give me an error say that Module Not Found, can't resolve slick-carousel/slick/slick.css. Whats wrong? Is that we cant use any react package on next js app?

You should also install 'slick-carousel' using the command: npm install slick-carousel.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM