+ 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
Евгений Молдованов
Евгений Молдованов - avatar
4 Respostas
+ 2
And none answered how to insert without installation._. I kind of figured it out myself already
3rd Sep 2022, 12:08 PM
Евгений Молдованов
Евгений Молдованов - 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
Евгений Молдованов
Евгений Молдованов - avatar