“Laravel Sail Alias” Kode Jawaban

Laravel Sail Alias

/* So you can just run sail up 
instead of: vendor/bin/sail up    
(If you add -d to your command it runs in the background of the same terminal)
Run this inside your project. Also this method does not carry over sessions */
alias sail="bash vendor/bin/sail"
sail up -d
/* here is the official documentation for this 
https://laravel.com/docs/8.x/sail#configuring-a-bash-alias */
13Garth

Laravel Sail Alias

alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'
Different Dormouse

Jawaban yang mirip dengan “Laravel Sail Alias”

Pertanyaan yang mirip dengan “Laravel Sail Alias”

Lebih banyak jawaban terkait untuk “Laravel Sail Alias” di PHP

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya