vue-tweet-embed
vue-tweet-embed copied to clipboard
Compiling error
When I build my site the pages where the timeline appears are breaking leaving my site rendered incorrectly
Digging in the code I find:
Uncaught SyntaxError: Unexpected token <
Then looking at my source code there is an src link with no https:, the issue is the // is being seen as js and the rest of the code on this line seems to be ignored breaking the rendering
<script src="//platform.twitter.com/widgets.js" defer></script>
![Screenshot 2019-09-22 14 42 04](https://user-images.githubusercontent.com/9541902/65388772-3863ec80-dd47-11e9-8d5d-8d21f9ddce1f.png)
![Screenshot 2019-09-22 14 42 23](https://user-images.githubusercontent.com/9541902/65388773-3863ec80-dd47-11e9-8ad1-115fb41f5932.png)
Hi @jamiecarter7 ,
Thanks for feedback. Which browser version and library version are you using?
Why not to use only HTTPS? Mixed content occurs only when initial HTML is loaded over a secure HTTPS connection, but other resources don't. A script loaded over HTTPS on an HTTP page will not trigger mixed content warning.