We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install prismjs
Hi, what's the best way to use a client side library packaged in npm?
Normally I would make a symlink from the node_modules/prismjs directory into a public directory.
node_modules/prismjs
public
The best possible use case would be:
Meteor.npmStaticCss('some/file/in/package.css'); Meteor.npmStaticJs('some/file/in/package.js');
Loading at the "end" of the Meteor js and css would be perfect. If I need a different order, I can put that in my index.html.
Is there a way to do this and have the versions managed in packages.json? Right now I'm copying them into client/lib :-/
client/lib
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, what's the best way to use a client side library packaged in npm?
Normally I would make a symlink from the
node_modules/prismjs
directory into apublic
directory.The best possible use case would be:
Loading at the "end" of the Meteor js and css would be perfect. If I need a different order, I can put that in my index.html.
Is there a way to do this and have the versions managed in packages.json? Right now I'm copying them into
client/lib
:-/The text was updated successfully, but these errors were encountered: