DEV Community

Discussion on: myConsole - A JavaScript editor for your phone, in JavaScript.

Collapse
victorqribeiro profile image
Victor Ribeiro Author

You don't. Just clone it if you want to host your own application, or just go to the live version at victorqribeiro.com/myConsole and add it to your honescreen.

Collapse
joelnet profile image
JavaScript Joel

Let me rephrase. How do I import libraries like import S from 'sanctuary'; to play with in sandbox?

Thread Thread
victorqribeiro profile image
Victor Ribeiro Author

You can add an external script, from a CDN or something.

let script = document.createElement('script');

script.src = 'site.com/script.js';

document.body.appendChild(script);

Thread Thread
joelnet profile image
JavaScript Joel

Awesome!