Skip to content

What is the proper way to import LuminousGallery? #612

Open
@strandofgenius

Description

@strandofgenius

In a previous project I was able to import the LuminousGallery class this way.

import LuminusGallery from '../../node_modules/luminous-lightbox/dist/Luminous.min.js';

However, this no longer seems to work with release 2.4.0. It gives me the following console error

Uncaught SyntaxError: ambiguous indirect export: default

I did try and use Luminous.min.js directly and that gave me a different error.

TypeError: right-hand side of 'in' should be an object, got undefined

Is there something I'm missing here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions