Skip to content

giterlizzi/perl-Mojolicious-Plugin-Iconify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Build Status License Starts Forks Issues

Mojolicious::Plugin::Iconify

Usage

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

# Mojolicious::Lite
plugin 'Iconify';
@@ template.html.ep

<html>
<head>
    <%= iconify_js %>
</head>
<body>
    <h1>
        Mojolicious::Plugin::Iconify
    <h1>
    <p>
        Made with <%= icon 'mdi:heart', style => 'color:red' %> by <em>Giterlizzi</em>
    </p>
</body>
</html>

Installation

To install this module type the following:

perl Makefile.PL
make
make test
make install

Copyright

Copyright (C) 2020-2022 by Giuseppe Di Terlizzi