The Inertia middleware and Ziggy routing helper should not affect the existing routes that are not using InertiaJS. However, you may need to make some adjustments to the existing VueJS components to work with InertiaJS, as the way data is passed between the client and server may change. 800+ routes, that must be a huge application! Just curious, what kind of traffic load does it get?
Adding InertiaJS to a big project
Hello to all!
Today I have a general question: I have an existing laravel project, most of it classy laravel backend with blade templates. The project so far has about 800+ routes. Additionally I use VueJS for about 50 single components, randomly distributed throughout the project.
Now I have to add a new module to this project, where client side reaction is used heavily (eg. user chooses a date, user instantly should see existing appointments of this day, etc). This leads to a VueJS component. BUT this new module consists of 6, 7 such components, and I am wondering if I could realize this using all the advantages of InertiaJS (which I already use in different projects - but from the start).
So, what I am wondering is - is it possible/safe to install InertiaJS to a project just to use it for a part of it? Or do I get problems with the inertia middleware in non-inertia-routes, ziggy with many routes, or... well... I don't know. Are there any adverse impacts related to the existing project?
Yes, I could (and I will) try it by myself, but maybe someone already has experience :-)
Thanks, Stefan
Please or to participate in this conversation.