How to import an un-installed module into javascript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to import an un-installed module into javascript?

Hello, I recently saw some code (as I understood it didn't work because sololearn couldn't find the phaser module), who knows how to add a module to js without installing? Or just how to add a third-party module to js in sololearn.

3rd Sep 2022, 10:28 AM
AjaraGuju
AjaraGuju - avatar
3 Answers
+ 2
And none answered how to insert without installation._. I kind of figured it out myself already
3rd Sep 2022, 12:08 PM
AjaraGuju
AjaraGuju - avatar
+ 4
You can include a js source file for example in head or body of the html.
3rd Sep 2022, 10:38 AM
JaScript
JaScript - avatar
0
But still thanks
3rd Sep 2022, 12:11 PM
AjaraGuju
AjaraGuju - avatar