Skip to content

Commit

Permalink
Update Javascript Modules.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf authored May 4, 2024
1 parent a8f10ff commit 424d175
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Examples/Javascript Examples/Javascript Modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ Now there are two variants depending on the module having a default export or no

Check the `export` statement in the module wether it has `as default` or not. If yes, use variant #1.

## Get converted module from CDNJS

Just download `https://esm.run/<module name@version>` to get a auto converted module. The conversion
will not always work, but often will and is easier than the other workarounds.

## Importing UMD modules

From https://stackoverflow.com/questions/51461723/import-umd-javascript-modules-into-browser
Expand Down

0 comments on commit 424d175

Please sign in to comment.