D
D
Dmitry2019-01-03 19:01:32
Laravel
Dmitry, 2019-01-03 19:01:32

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

1 answer(s)
M
Maxim Rak, 2019-01-03
@rak1996

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 question

Ask a Question

731 491 924 answers to any question