Added install command
This commit is contained in:
17
src/Console/InstallCommand.php
Normal file
17
src/Console/InstallCommand.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Asantibanez\LivewireCharts\Console;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class InstallCommand extends Command
|
||||
{
|
||||
protected $signature = 'livewire-charts:install';
|
||||
|
||||
protected $description = 'Installs Livewire Charts';
|
||||
|
||||
public function handle()
|
||||
{
|
||||
$this->call('vendor:publish', ['--tag' => 'livewire-charts:public']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user