Reputation: 325
I have an existing Laravel project, which I want to run in my browser, using VS Code. How do I do this?
Upvotes: 6
Views: 21804
Reputation: 538
There's a built-in terminal in vs code (on a different tab somewhere in the bottom), you can use it to serve your project by a local webserver, with the following command:
php artisan serve
After that you can see your project in your browser (localhost:8000 by default).
Please note this might not work out of the box on Windows.
Upvotes: 11