简体   繁体   中英

How to deploy react and laravel combined app on shared hosting server?

Folder structure on vs code

I have the above file structure. I have used react js inside the laravel framework combined.

It's a brand new project just with react --auth scaffolding inside the laravel project.

I can deploy just the laravel project but don't know how to deploy the react-laravel combined web app. please help

You must build project on your local machine and then upload whole project structure on server. When you build it, it will generate css and especially js files which are key files for your react part. Upload all content and it will work fine.

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