0

I'm having a hard time understanding what's happening here. I'm installing the "react-slick" component and I followed the github's instruction but there seems to be something going wrong (The slider is not found) Could you please help me with this? Here's the relevant parts:

Where it's called: image

Where it's rendered: image

My package.json file: image

Thanks a lot!

2
  • Instead of linking to a jpg of the code/result/config, please add it as text/code, so it is easier to search and copy when answering. Also, copying the exact/full error message you got, will help.
    – rafahoro
    Nov 27, 2017 at 1:37
  • Thanks - i'm starting with stackoverflow. Gonna edit the post now. Nov 27, 2017 at 1:41

1 Answer 1

0

Try changing your

import {SimpleSlider} from "SimpleSlider.js"

to use exported default and relative path:

import SimpleSlider from "./SimpleSlider.js"

If not that, please post the exact error message

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.