Add external javascript in drupal 8

Public

Warning message

We recommend you to assign at least one category to this snippet so you could easily navigate it in the future. Edit your snippet here.

</> CopyGet raw version
yaml
  1. #You need to basically add <http...file.js> : { type: external }
  2. #e.g:
  3.  
  4. global-js:
  5.   js:
  6.   http://storage.uplynk.com/js/swfobject.js : { type: external }
  7.   http://storage.uplynk.com/js/uplynk.js : { type: external }