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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user