简体   繁体   中英

How to start the Laravel application in Localhost?

App Structure

  • ovss
    • vsdapp
    • vsd

I am coming from ReactJs and not able to start the app in the local server xampp.

Following steps, I performed

  1. Downloaded the folders in htdocs in xampp
  2. Run composer update

if I run cmd PHP artisan serve, I get a public path error and if I run code in xampp, then no file found please have a look at the following pictures for reference.

I am new to Laravel and will be studying this soon but right now have to start a local project.

App Structure

应用结构

vsdapp not found

未找到 vsdapp

cmd php artisan serve giving this error

cmd php artisan serve 给出此错误

vsdapp files

vsdapp 文件

vsd files

vsd 文件

I had to change the base URL to localhost.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM