in reply to Mojolicious: Optional placeholder and template name
If you run your site under morbo, the debug output should have some information on why your template is not rendering. The default error page under morbo is also helpful.
When you reference a link in the final html that is rendered, it will be relative to public. So a link like src=/blah.js means search for it in the public directories of the app, by default /public.
Update: Fix link
Second Update: Static files are served in sequential order from the array $app->static->paths.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mojolicious: Optional placeholder and template name
by frazap (Monk) on May 21, 2019 at 10:12 UTC | |
by soonix (Chancellor) on May 21, 2019 at 10:23 UTC | |
by frazap (Monk) on May 21, 2019 at 11:43 UTC | |
by soonix (Chancellor) on May 21, 2019 at 13:22 UTC | |
by Your Mother (Archbishop) on May 21, 2019 at 14:23 UTC |