How to use Inertia.js & React with modular Laravel

Leave a Reply

Comment as a guest.

  1. Wow what a great article! Yeah I haven’t found a guide to setup Inertia with a modular web apps before. Having a Vue.js version would be great!

    1. The setup is same for Vue as well in this case. Just change the file extensions from .tsx to .vue if you are using that extension or whatever else you are using.

    1. In this case dependencies are for the app & not for individual modules. This modular approach is to just organize features/code in a more sane way instead of clumping it all together. The modules are not autonomous.

      However if you want then you can do dependencies for each module separately, just create composer.json & package.json as required in a module’s top level folder.

Sliding Sidebar