How to use custom client-side libraries in Meteor?

Current Meteor Version:
Preview 0.6.6.3

I am attached to adding client libraries to a Meteor project (on Ubuntu, as well as on Windows) using Meteor or a meteorite like Taggle.js .
These libraries are not available as packages in the atmosphere.

I tried copying and pasting mine *.jsinto .meteor/local/build/programs/clientor .meteor/local/build/programs/client/app, but that didn't work.

How can I put my own client-side libraries in my Meteor project?

My current application structure:

my_app/

  • css/
  • pages/
  • js/
  • .meteor/
+4
source share
2 answers

.meteor ( packages release), Meteor . - .

, .

:

  • /client, , , ;
  • /client/lib, ;
  • in /client/compatibility, Meteor, / , ;
  • /client/lib/compatibility, . , .
+18

HTML/CSS/JS , : Meteor-external-file-loader

Meteor-external-file-loader , :

meteor add mrt:external-file-loader

+1

All Articles