Skip to content

Missing captioned.js file inside node module react-awesome-slider #172

@elviajero971

Description

@elviajero971

Hello there,
I'm trying to add some content to each of my sliders (that has an image already).
According to the documentation, I have to use Captioned HOC. But when I import all the needed files like so:

import AwesomeSlider from 'react-awesome-slider'; import withCaption from 'react-awesome-slider/dist/captioned'; import 'react-awesome-slider/dist/styles.css'; import 'react-awesome-slider/dist/captioned.css';
I'm running into an issue, it can't find the captioned file. You can see on these pictures that i have react-awesome-slider into my package.json file, but inside the node module, i only have the captioned.css files...

Screenshot 2021-03-25 at 10 15 13

Screenshot 2021-03-25 at 10 14 46

I have tried to reinstall the node module, changed of version, but got nothing different in return.
Anyone have got an idea about this issue ?

Thanks by advance and have a good day.

Beside that, great job for this module, it seems like an awesome library!! :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions