How can I add third-party JavaScript libraries to a Meteor application?

后端 未结 4 1925
说谎
说谎 2020-12-01 00:40

I want to add a JavaScript front-end plugin, like jquery.center.js, to a Meteor app.

If I put it in my app/ directory and refresh the page

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-01 01:07

    Put it inside the client folder such that it is only loaded on the client, no need for jQuery on server.

提交回复
热议问题