参考:https://blog.csdn.net/u010881899/article/details/80895661
例:要素-UIの導入
JS:
搭載(){ CONST oScript =のdocument.createElement( 'スクリプト' ); oScript.type = 'テキスト/ javascriptの' ; oScript.src = 'https://unpkg.com/[email protected]/lib/index.js' ; document.body.appendChild(oScript)。 }
CSS:
<スタイルスコープ> @import 'https://unpkg.com/[email protected]/lib/theme-chalk/index.css' ; </スタイル>