Exploring Grav: A Flat-File CMS

29 Jan modified: 5 years ago

GSAP files as Named Assets

grav gsap

Adding GSAP TweenLite and dependencies as a named asset.

http://learn.getgrav.org/themes/asset-manager#named-assets

I'm having a terrible time getting named assets to work properly. For example, if I add the various files needed for a minimal instance of GSAP PLUS the custom-scripts file, it looks as if the stuff is being inserted into the footer error, but Dev Tools reports that there is a 404 error.

Need to look into this more at some point. Right now, I'm simply loading TweenMac and the custom-scripts files as separate .js entities into the footer area. This is working but not as elegantly as I would like.

Continue reading GSAP files as Named Assets ...