virtualwonders/yii2-grapesjs

An asset bundle for the GrapesJS web builder framework.

Installs: 681

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 1

Open Issues: 1

Type:yii2-extension

1.0.2 2019-07-05 08:27 UTC

This package is auto-updated.

Last update: 2024-04-05 19:26:07 UTC


README

An asset bundle for the GrapesJS web builder framework.

Installation

The preferred way to install this extension is through Composer.

Either run

php composer.phar require --prefer-dist virtualwonders/yii2-grapesjs "*"

or add

"virtualwonders/yii2-grapesjs": "*"

to the require section of your composer.json file.

Usage

Add in the view as follows:

use virtualwonders\grapesjs\GrapesJsAsset;

GrapesJsAsset::register($this);

It can also be added as a dependency on your AppAsset, as follows:

public $depends = [
    'yii\web\YiiAsset',
    'yii\bootstrap4\BootstrapAsset',
    'yii\bootstrap4\BootstrapPluginAsset',
    'virtualwonders\fontawesome\FontAwesomeAsset',
    'virtualwonders\grapesjs\GrapesJsAsset'
];