Plugin template

I’m building a front-end plugin using some routes and I need a template to wrap the content. What’s the best way to do that when using a sage theme?

Have you tried some of the open-source frameworks available? Herbert looks like a good candidate for plugin architecture: GitHub - getherbert/herbert: The WordPress Plugin Framework:

This article has a pretty good summary of modern Wordpress frameworks currently available: https://www.sagenda.com/wordpress-plugin-framework-review/

Interesting reading. I looked at the links there - probably overkill for my purposes and I worry about going down another rabbit hole with a project that may not exist in six months. I’m going to do an ugly and build my own templates inside the plugin i guess.