Answers for "vue add script tags and link tags"

1

vue add script tags and link tags

created() {
	let doc = document.createElement('script');  
	doc.setAttribute('src',"your-link-here");
	document.head.appendChild(doc);
}
Posted by: Guest on March-16-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language