Jump to content

Best Way to Add Custom Javascript


Recommended Posts

When you create an app or a plugin, then the javascript that you write gets compiled and packaged. However, other than that, you need to upload your scripts to your site and reference them in your templates where you want to use them.

As Ive been working on a few projects myself where I needed to use some 3rd party libraries such as jquery ui and bootstrap, I realized that things were going to get real hairy if every plugin or app that I build bundles in its own copy. So I built a libraries app that acts as a central repository for 3rd party javascript and any apps that want to use it can just share it from there.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...