Skip to content

hybridinteractive/fractal-loader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractal loader plugin for Craft CMS 4.x

Allows you to include Fractal generated partials in your Craft CMS templates.

Requirements

This plugin requires Craft CMS 4.0.0-RC-2 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

    cd /path/to/project

  2. Then tell Composer to load the plugin:

    composer require madebyraygun/fractal

  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Fractal Loader.

Fractal Overview

Make use of the Fractal library in Craft 4 by exporting a components-map.json file to your base craft/templates directory. Then include in your templates like

{% include '@button' with {
  text: 'Click here',
  url: 'https://google.com'
} %}

Credits & Special Thanks

Credit ournameismud for the Craft 3 version. Credit allmarkedup for original Fractal component loader plugin for Craft cms

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%