Added install command

This commit is contained in:
asantibanez
2022-02-14 12:49:36 -05:00
parent 9e4d8ddf40
commit 202591954d
2 changed files with 31 additions and 1 deletions

View 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']);
}
}