In sage I can load specific javascript files. WordPress allows to load css by template implemented the function is_page_template (). I have a virtual page, which is not a type of content.
How can I load css and javascript with sage in a virtual page created with the filter generate_rewrite_rules?