External template



examples/hw-external-template/app.pl
use Mojolicious::Lite  -signatures;

get '/' => sub ($c) {
  $c->render(template => 'index');
};

app->start;

examples/hw-external-template/templates/index.html.ep
Hi


perl app.pl daemon