Add MaterializeCSS styles (#1)

## Changes
* Adds the [AssetPack](https://metacpan.org/pod/Mojolicious::Plugin::AssetPack) Mojolicious plugin
* Adds the [MaterializeCSS](https://www.npmjs.com/package/materialize-css) Node package
* Applies styles to app

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-07-31 03:07:33 +00:00
parent d2cecc1523
commit 203a53cb32
10 changed files with 102 additions and 8 deletions

View File

@@ -10,6 +10,9 @@ sub startup ($self) {
# Configure the application
$self->secrets($config->{secrets});
$self->plugin(AssetPack => {pipes => [qw(Css)]});
$self->asset->process("app.css" => ("materialize.css"));
# Router
my $r = $self->routes;