Moonshine::Bootstrap::Component::Navbar
$self->navbar({ data => 'Hey' });
returns a Moonshine::Element that renders too..
<nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="#"> <img alt="Brand" src="..."> </a> </div> </div> </nav>
To install Moonshine::Bootstrap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Moonshine::Bootstrap
CPAN shell
perl -MCPAN -e shell install Moonshine::Bootstrap
For more information on module installation, please visit the detailed CPAN module installation guide.