DEV Community

Alican Kılıç
Alican Kılıç

Posted on

Laravel make view

php artisan make:command MakeViewCommand

App
Console
Commands

Replace
MakeViewCommand.php

Gist Url

Creating views

# Create a view 'home.blade.php' in the default directory
php artisan make:view home

# Create a view 'home.blade.php' in a subdirectory ('pages')
php artisan make:view pages.home

Demo

Top comments (0)