FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

How to use maxgraph directly in a web page · maxGraph/maxGraph · Discussion #462 · GitHub

forked from jgraph/mxgraph
Discussion options

{{title}}

You must be logged in to vote
All reactions

Hi @bochatay ,
As mentioned by @reuse-ay, you should remove the "type" directive, but the error is not coming from that.

Error reproduction

I have reproduced your error.

Firefox 126.0.1 (French language)

Uncaught TypeError: Le spécificateur « @maxgraph/core » était un spécificateur simple, mais n’a pas été remappé.
Les spécificateurs relatifs de modules doivent commencer par « ./ », « ../ » ou « / ».

Chrome 126.0.6478.55
Uncaught TypeError: Failed to resolve module specifier "@maxgraph/core". Relative references must start with either "/", "./", or "../".

Quick explanations

Imports using "@maxgraph/core" are intended to be interpreted by bundlers, TypeScript, .... but don't work in the b…

Replies: 3 comments 1 reply

Comment options

{{title}}

You must be logged in to vote
All reactions
0 replies
Comment options

{{title}}

{{editor}}'s edit

{{actor}} deleted this content .

{{editor}}'s edit

You must be logged in to vote
All reactions
0 replies
Answer selected by bochatay
Comment options

{{title}}

You must be logged in to vote
All reactions
1 reply
Comment options

{{title}}

All reactions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu

Select a reply

Loading
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji

Back | FazBrowse Home | New Git URL