In the past, I integrated Vue into a Laravel project by creating .js and .vue files within the resources/js folder. Unfortunately, when running the website, the browser (Chrome) did not refresh when clicking on any links.
However, after splitting the project into separate folders for Laravel and Vue like so:
project
|___backend
|___frontend
The browser now refreshes every time a link is clicked.
https://i.sstatic.net/531Sz49H.png
Furthermore, the website's performance has decreased with longer loading times.