Roots Discourse

Using Barba.js with Sage 9

Originally published at: https://roots.io/guides/using-barba-js-with-sage-9/

Barba.js uses pushState and other AJAX techniques to load pages asynchronously while maintaining a sensible and useful browser history. By combining it with a JavaScript animation library, we can create a memorable browsing experience. (source) This guide attempts to describe an efficient and useful way to integrate Barba with the Sage starter theme. Note: This…

8 Likes

this looks great! - thanks for the info, will definitely give it try soon :slight_smile:

nice, thanks a lot for this guide. this is exactly what I was going to figure out next for integration in my default theme. awesome!