how to add script tags in vuejs component code example
Example: vue add script tags and link tags
created() {
let doc = document.createElement('script');
doc.setAttribute('src',"your-link-here");
document.head.appendChild(doc);
}
created() {
let doc = document.createElement('script');
doc.setAttribute('src',"your-link-here");
document.head.appendChild(doc);
}