Skip to content

What is the best way to import it in webpack #249

Description

@ametthey

Hello, i'm wondering what is the best way to import it in js ?

import readmore from 'readmore-js';
import readmore-js from 'readmore-js';
import Readmore from 'readmore-js'; 

Thanks a lot, great plugin !

Activity

  1. martinbjeldbak commented on Jan 9, 2021

    @martinbjeldbak

    Hi @ametthey check this out if you haven't solved this issue already: #237 (comment)

    import Readmore from 'readmore-js';

    worked for me

  2. ametthey commented on Jan 16, 2021

    @ametthey
    Author

    Hello, thanks a lot for answering, but it's not working for me
    Here is an image of what I have
    Capture d’écran 2021-01-16 à 19 47 02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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