Where do I put script tags when I use Youtube api in vuejs

后端 未结 0 592
耶瑟儿~
耶瑟儿~ 2021-01-21 10:56

I tried putting the script tags in index.html but that didn\'t work because it said that gapi is undefined in my Vue component which is in another file

This is an example

相关标签:
回答
  • 消灭零回复
提交回复
热议问题