How to include JavaScript from a CDN in meteor?

后端 未结 3 1051
孤城傲影
孤城傲影 2021-02-05 06:04

I\'d like to include JS from a CDN in Meteor before including my own client scripts so that the client scripts can depend on it.

...


        
3条回答
  •  别跟我提以往
    2021-02-05 06:20

    There's also an abandoned package called meteor-external-fileloader that gives an example using Stripe.js. It hasn't been maintained since September 2013, so be careful.

提交回复
热议问题