I’m using Sage 10 and I read that the old way of JS separation by page was gone and it was separated on a library (js-dom-router).
But on Github, I can’t find any way on how to use it. I import it, but it doesn’t work with the methods ‘init’ and ‘finalize’. What methods should I use with this library for the specific page scripts to works?
Is there any explanation or example somewhere?