[SOLVED] What is the difference between Vue routing and Inertia? does inertia reload partial page?


This Content is from Stack Overflow. Question asked by Neha

What is the difference between vue-routing and laravel inertia? with vue routing component added in dom without page reloading. and with inertia component name is returned from server side does it reload partial page?


Vue routing is defined in client-side, while Inertia routing is defined in server-side. If you are using Inertia, you don’t need Vue Router. Simply create routes using your server-side framework of choice. Read their docs to spot more differences between them.

Inertia routing: https://inertiajs.com/routing

Vue routing: https://vuejs.org/guide/scaling-up/routing.html

And yes, Inertia does partial reloads – https://inertiajs.com/partial-reloads

This Question was asked in StackOverflow by Neha and Answered by ericmp It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?