简体   繁体   中英

how to Deploy VueJS, laravel App on live server

i want to deploy the App of laravel with inbuilt vuejs on my local i just run the "PHP ARTISAN SERVE" and boom its works for me

but what about the live ? its not working on live server my .htaccess and index.php is in public folder

for Laravel we just move the index.php and .htaccess out of public folder and edit some code lines and it will work.

but how it will work with vuejs templates ?

Follow these steps:

  • Please create a zip folder of your project except the vendor folder.

  • Deploy the folder on live and extract.

  • Change your DB and other configuration in env file.

  • In the terminal on live server, run this command : composer update

  • After the installation, look for your front page.

Hope it should 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