A curated list of awesome things related to Vue 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://cdn.amcharts.com/lib/5/index.js"></script> | |
<script src="https://cdn.amcharts.com/lib/5/map.js"></script> | |
<script src="https://cdn.amcharts.com/lib/5/geodata/worldLow.js"></script> | |
<script src="https://cdn.amcharts.com/lib/5/themes/Animated.js"></script> | |
<div id="chartdiv"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This is a technique to lazy load your javascript files | |
* Handy for those pesky slow, load blocking off-site scripts | |
* function lazyLoad | |
* @s: String of path to file | |
*/ | |
function lazyLoad(s) { | |
var d = window.document; | |
b = d.body; /* appends at end of body, but you could use other methods to put where you want */ | |
e = d.createElement("script"); |