Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 3, 201510 yr What is the best way to add custom javascript code in IPS 4 to get the advantages of "combine" and cache?
February 10, 201510 yr 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.
Archived
This topic is now archived and is closed to further replies.