javascript - How vue components introduce external js
伊谢尔伦
伊谢尔伦 2017-06-05 11:12:49
0
3
640

I want to introduce an external swiper.js into a single-page component. I don’t want to install dependencies. I want to import js directly. Is there a way to achieve this? I have tried both import and require but it seems to have failed.

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all (3)
淡淡烟草味

Just import it directly under index.html through