Adding JavaScript and CSS to your site.

The Fuse CMS Framework makes it easy to add CSS and JavaScript files to your website from your theme or plugin.

JavaScript and CSS is managed by the queue objects in the main Fuse Framework class that’s globally available as $fuse.

global $fuse;

You need to use the queues in the main Fuse class to manage these items.

global $fuse;
$fuse->template->javascript;
$fuse->template->css;

This is where the queues live. You can find out more about these by checking out the API pages for Fuse\Queue\JavaScript and Fuse\Queue\CSS.