'Vue Inertia Shows @routes when I load the page

I am using Vue js with laravel using Inertia. I installed the required packages and it was working fine then I committed the code and cloned the same from my office system. Now when I open the page it shows @routes.

I am using Ziggy by tighten and I re-installed all those packages but It shows the same.

Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source