I have an existing laravel project and am looking to change only one part of the site to use Vue for the views. What is the best approach here because most of the info I've seen on Laravel + Vue is how to start a project from scratch but this would be an existing project. Please, someone, suggest me a tutorial for this. Thank you.
Asked
Active
Viewed 1,708 times
2
-
What part of it are you struggling with the most at the minute? Are you looking to create an SPA or are you just wanting to create components for various parts of the site that you can drop into your blade files? – Rwd Feb 06 '20 at 07:27
-
do you need use only one page or many pages ? – Hamelraj Feb 06 '20 at 07:29
-
Yeah am looking to create a SPA and I cannot find a proper way to do it. Please suggest me some tuts to do this. Thank you. – anonymus Feb 06 '20 at 07:29
-
Currently, I have blade files, I need to change those to Vue components and to create a SPA. All the tutorials are starting from scratch and it is difficult for me to go with those tutorials as I am new to Vue. – anonymus Feb 06 '20 at 07:33
-
when you talk about SPA you need to change everything from the scratch so just check this -https://codebriefly.com/basic-laravel-vue-js-setup/ – Hamelraj Feb 06 '20 at 07:39
-
I found this tutorial but I cannot watch it for free: https://code.tutsplus.com/courses/enhance-your-laravel-app-with-vuejs, hoping for a better tutorial as this. Thank you. – anonymus Feb 06 '20 at 08:11
-
https://laracasts.com/series/learn-vue-2-step-by-step – Rwd Feb 06 '20 at 09:33
-
1https://inertiajs.com/ – Rwd Feb 06 '20 at 09:47
-
Thank you very much @Rwd, really I was looking for something like this. And I never heard about the inertia library before, thanks again for the suggestion. I'll try this. – anonymus Feb 06 '20 at 11:03
-
@Hamerlraj, It will be used on many pages. – geeves Mar 10 '21 at 21:50