Skip to content

Commit

Permalink
Update MissingViteManifestSolutionProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mshukurlu authored Oct 30, 2024
1 parent 8341141 commit 044456d
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@
use Spatie\ErrorSolutions\Contracts\HasSolutionsForThrowable;
use Spatie\ErrorSolutions\Contracts\Solution;
use Throwable;
use Spatie\ErrorSolutions\Support\Laravel\LaravelVersion;

class MissingViteManifestSolutionProvider implements HasSolutionsForThrowable
{
/** @var array<string, string> */
protected array $links = [
'Asset bundling with Vite' => 'https://laravel.com/docs/9.x/vite#running-vite',
];
protected array $links = [];

public function __construct()
{
$this->links = ['Asset bundling with Vite' => 'https://laravel.com/docs/'.LaravelVersion::major().'.x/vite#running-vite'];
}

public function canSolve(Throwable $throwable): bool
{
Expand Down

0 comments on commit 044456d

Please sign in to comment.