Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vue add script tags and link tags

created() {
	let doc = document.createElement('script');  
	doc.setAttribute('src',"your-link-here");
	document.head.appendChild(doc);
}
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #vue #add #script #tags #link #tags
ADD COMMENT
Topic
Name
7+7 =