Registry Mirror
Skip to content

How to add Bootstrap, jQuery and FontAwesome to a report? #2

Open

Description

@koolphp

Starting from the KoolReport 1.27.6, we can added client-side library like Bootstrap, jQuery to view very easy like below:

<?php
class MyReport extends \koolreport\KoolReport
{
    use \koolreport\clients\jQuery;
    use \koolreport\clients\Bootstrap;
    use \koolreport\clients\FontAwesome;
    
}

If you want to add only Bootstrap CSS, you can do:

<?php
class MyReport extends \koolreport\KoolReport
{
    use \koolreport\clients\BootstrapCSS;
    
}

Easy, isn't it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions