2

I satarted a project based on a Laravel-Nuxt Starter kit, found it here : https://bestofphp.com/repo/cretueusebiu-laravel-nuxt-php-starter-projects

I connected it to Laragon, so I can have pretty urls and making it work on Apache and MySQL. It works nocely, and when I do npm run start, I can access the website locally on localhost:3000 and it updates. However, if I use the pretty url given by Laragon, example.home, it goes to the index.html in the public server, but it doesn't update, no matter what I do. I tried npm run build, but the public folder isnt updated, the changes I do in the Vue component are only visible in localhost:3000. What can I do to update the public folder according to the changes I do ? Thank you !

  • That's because node is the one starting the Nuxt server, not Laragon, you have to do the [Nginx Proxy](https://bestofphp.com/repo/cretueusebiu-laravel-nuxt-php-starter-projects#nginx-proxy) to use the Laragon URL. – Kim Hallberg Jul 24 '22 at 10:57

0 Answers0