Bundle

Bundle contains all needed components provided by a HTML/CSS framework.
Currently, supported frameworks are Bootstrap5, Bootstrap3, Bulma.

Recommended usage is to create an Imports object which contains one of the predefined bundles:


        package utils

        import ba.sake.hepek.bootstrap5.BootstrapBundle

        val Bundle = BootstrapBundle.default
      

Then you import utils.Bundle._ in every other page/template you make.
This provides you with flexibility of changing your framework with just one line.

Every Bundle contains utilities like Page, Grid, Form, Classes, Tags etc.
Your code will stay the ~same no matter which framework you use.

You can customize the Bundle and its components with corresponding with* methods!