Electric Jungle
and 1 contributors

NAME

Mojolicious::Plugin::SpectreCss - Mojolicious Plugin

SYNOPSIS

  # Mojolicious
  $self->plugin('SpectreCss');

  # Mojolicious::Lite
  plugin 'SpectreCss';

  # in template
  %= stylesheet '/spectre/0.5.3/core.min.css'
  %= stylesheet '/spectre/0.5.3/icons.min.css'
  %= stylesheet '/spectre/0.5.3/exp.min.css'

DESCRIPTION

Mojolicious::Plugin::SpectreCss is a Mojolicious plugin which provides access to the Spectre CSS framework.

METHODS

Mojolicious::Plugin::SpectreCss inherits all methods from Mojolicious::Plugin and implements the following new ones.

register

  $plugin->register(Mojolicious->new);

Register plugin in Mojolicious application. This adds the CSS files to the static file search path.

SEE ALSO

Mojolicious, Mojolicious::Guides, https://mojolicious.org, Spectre CSS framework.