First Setup - Str::slug error
yakupguvenc opened this issue · comments
yakupguvenc commented
php artisan make:theme Default Symfony\Component\Debug\Exception\FatalThrowableError : Class 'Illuminate\Support\Facades\Str' not found
77 | $slug = Str::slug($this->argument('slug'));
composer.json
"laravel/framework": "^6.2",
Damir commented
I see the same, this https://github.com/caffeinated/themes/blob/master/src/Console/GenerateTheme.php#L6 should be:
use Illuminate\Support\Str;
yakupguvenc commented
thankx problem fixed :)