PHP code example of laravel-admin-ext / css-editor
1. Go to this page and download the library: Download laravel-admin-ext/css-editor library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
laravel-admin-ext / css-editor example snippets
'extensions' => [
'css-editor' => [
// set to false if you want to disable this exteions
'enable' => true,
// editor configuration
'config' => [
]
]
]
$form->css('code');
$form->scss('code');
$form->less('code');
$form->css('code')->height(500);