+ 2

SoloLearn Editor with CDNs

Apparently I can use CDN but only if it's on the same HTML file using script tag. How do I referentiate the editor JS section?

10th Oct 2020, 10:47 AM
Rafael Figueiredo
Rafael Figueiredo - avatar
1 Réponse
+ 1
For anyone wondering, I searched for vue here and found it. In the js section use the expression window.onload = ()=>{ //your code } So now you have the cdn in the htm file and the script in the proper js file. Thanks for anyone who wanted to help! Also,the code that made me realize that was from @Namit Jain. Thanks my man!
10th Oct 2020, 11:41 AM
Rafael Figueiredo
Rafael Figueiredo - avatar