DOM-based JS routing in Sage 10

Hi there,

with Sage 9 we had support a nice DOM-based routing of JavaScript files according to the page’s body classes.

Is that implemented also on Sage 10 with Bud / are there any best practices on how to manage some page-exclusive JS scripts?

Thanks!

Howdy! @austin has a draft post for our blog called DOM-based routing considered harmful that you can take a look at

6 Likes

Helpful as usual @ben!

Thanks!