## 解决过程 - Google 关键字:`vue-cli load external js condition` - 解决方案:[How to add external JS scripts to VueJS Components?](https://stackoverflow.com/a/60345422/2667665) 关键代码: ```html <template> <div> This is my component <script type="application/javascript" defer src="..."></script> </div> <template> ```
解决过程
vue-cli load external js condition关键代码: