Answer the question
In order to leave comments, you need to log in
How to properly organize the modular architecture of the project on laravel+vuejs?
Good day.
The task is to make a SPA application and organize the modular architecture of the project on laravel + vuejs + vue-routes, so that the module is fully equipped (with its controllers, backend and frontend routes, vue components for ui, etc.). If you can still find solutions for the northern part, then for the client side (vuejs + vue-routes) I can’t even imagine how it should work.
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Take out as usual packages for Lara. And in the final application, in the routers (vue) file, connect and paste your pages where necessary. And if there are some components that are used everywhere, then add them to the final project as global components, or use an alias in webpack for simple import.
You can also tinker with factory functions to end up just merging certain groups of pages in the router file (?)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question