NAME

Mojolicious::Plugin::SemanticUI - Semantic UI for your application

SYNOPSIS

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

# Mojolicious::Lite
plugin 'SemanticUI';

#in your layout (or template)
<head>
<!-- Use only some components -->
%= stylesheet begin
  @import url('/vendor/SemanticUI/components/modal.min.css');
  /* other CSS files here */
%=end
%= javascript '/vendor/SemanticUI/components/modal.min.js'
<!-- other JavaScript files here -->

<!-- or all of it -->
%= stylesheet begin
  @import url('/vendor/SemanticUI/components/reset.min.css');
  @import url('/vendor/SemanticUI/semantic.min.css');
%=end

%= javascript '/vendor/SemanticUI/semantic.min.js'
</head>

DESCRIPTION

Mojolicious::Plugin::SemanticUI includes the minifed build of the Semantic UI CSS and Javascript library version 1.0.0.

METHODS

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

register

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

Register plugin in Mojolicious application.

SEE ALSO

Ado, Mojolicious, Mojolicious::Guides, http://semantic-ui.com/, http://mojolicio.us.

AUTHOR

Красимир Беров (Krasimir Berov)

COPYRIGHT AND LICENSE

Copyright 2014 Красимир Беров (Krasimir Berov).

This program is free software, you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License v3 (LGPL-3.0). You may copy, distribute and modify the software provided that modifications are open source. However, software that includes the license may release under a different license.

See http://opensource.org/licenses/lgpl-3.0.html for more information.