Need help make a basic plugin that shows a html template

Hi,

I am trying to create a plugin that when I go to a set route set in the admin (https://site.com/viewer) it will display an HTML template stored within the plugin.

if anyone could give me some ideas on how to code the viewer.php file or show me an example of a plugin that does something simular that would be great, I have looked through the grav docs but can’t find anything that will work.

blueprint.yaml

form:
  validation: loose
  fields:
    enabled:
      type: toggle
      label: PLUGIN_ADMIN.PLUGIN_STATUS
      highlight: 1
      default: 0
      options:
        1: PLUGIN_ADMIN.ENABLED
        0: PLUGIN_ADMIN.DISABLED
      validate:
        type: bool
    route:
        type: text
        label: Page Route
        help: Enter the route for your 3d viewer page.
        default: /viewer

/user/plugins/viewer/templates/viewer.html.twig

{% extends 'partials/base.html.twig' %}

{% block content %}

<h2> TEST Viewer </h2>

{% endblock %}