Skip to content
This repository was archived by the owner on Mar 31, 2021. It is now read-only.
This repository was archived by the owner on Mar 31, 2021. It is now read-only.

npm package (latest version 4.2.0) factory method mxBasePath param not working #479

@hungtcs

Description

@hungtcs

the follow code to load mxgraph, but mxBasePath not working:

import factory from 'mxgraph';
const mx = factory({
      mxBasePath: 'assets',
});

image

if set window.mxBasePath = 'assets' is working well.

this demo can reappear the issues: https://stackblitz.com/edit/js-yjyqmw


version: 4.2.0

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