module.exports = {
  id: "sample-plugin",
  init({ web, commandRouter }) {
    const router = web.createRouter();
    router.get("/", (req, res) => {
      res.render("plugin-page", {
        title: "Sample Plugin",
        content:
          "This is a starter plugin. Edit it or replace it with your own modules."
      });
    });
    web.mount("/plugins/sample-plugin", router, {
      label: "Sample Plugin",
      role: "admin"
    });
  }
};
