PHP code example of marketdragon / livewire-extra
1. Go to this page and download the library: Download marketdragon/livewire-extra 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/ */
marketdragon / livewire-extra example snippets
public function render()
{
return view('md::livewire.admin');
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
$this->loadViewsFrom(__DIR__. '/../resources/views', 'md');
}