expl0it3r/kirby-bootstrap-blocks

Bootstrap Components as Kirby 3 Blocks

1.0.0 2023-06-01 21:15 UTC

This package is auto-updated.

Last update: 2024-10-30 01:59:47 UTC


README

A Kirby 3 plugin implementing Bootstrap Components as Block.

Prerequisites

  • Currently only Bootstrap 3.4 is supported, this will be upgraded over time
  • It's assumed that Bootstrap (CSS & JS) is already loaded

Supported Components

Usage

Blueprint

Add the alert block to your set of fields:

fields:
  type: blocks
  label: Text
  fieldsets:
    - heading
    - text
    - list
    - image
    - gallery
    - video
    - code
    - markdown
    - alert

Installation

Download

  • Download the repository
  • Extract the content to site/plugins/kirby-bootstrap-blocks

Git Submodule

Add the plugin as Git submodule:

git submodule add https://github.com/eXpl0it3r/kirby-bootstrap-blocks.git site/plugins/kirby-bootstrap-blocks

Composer

Not supported currently

Develop

If you want to contribute to the plugin, you can run the following commands within the plugin directory:

  • npm dev - Watch the src/* files and build on any detected change
  • npm build - Build the src/* files once

Credits

  • Build with the Custom Block Type Cookbook article
  • A million thanks to the whole Kirby Team! ❤