Backend (VueJS) of laravel application with modules approach

谁都会走 提交于 2019-12-11 17:28:02

问题


I come to you to take information on how to guide my development.

I'm developing an application with modules approach.

Current architecture:

app
bootstrap
config
modules
    auth
    backend
    cms
    Core
    ...
public
...

I work on administration (backend module). Each module has its composer.json and therefore a repository github (each module has its own version).

I don't know how to orient myself for the backend part.

Do I have to go to a VueJS multi-application solution? Each module would have an architecture of this type:

ModuleName / Resources / Backend / Assets / js
ModuleName / Resources / Backend / Assets / js / app.js
ModuleName / Resources / Backend / Assets / js / components /
ModuleName / Resources / Backend / Assets / js / views /
ModuleName / Resources / Backend / Assets / sass /
...

The "Backend" module would have a default .blade layout.

Or a SPA solution? Managed by the "Backend" module.

And do you think using VueJS for the admin part is a good idea?

Thank you! :)

来源:https://stackoverflow.com/questions/57673764/backend-vuejs-of-laravel-application-with-modules-approach

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!