Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Livewire support #61

Open
lparede opened this issue Feb 4, 2021 · 4 comments
Open

Livewire support #61

lparede opened this issue Feb 4, 2021 · 4 comments
Assignees

Comments

@lparede
Copy link

lparede commented Feb 4, 2021

Hello, guys.

It would be great if we could have Livewire support in this package, so we could create Livewire components and views inside each module.

Is it possible?

Thank you.

@Artem-Schander
Copy link
Collaborator

hi @lparede
I've never used Livewire. Our company strictly splits backend and frontend, so we are using Laravel as an API only.
But as far as I can see it should be possible to make use of Livewire inside modules.
What exactly is it you're struggling with?

@lparede
Copy link
Author

lparede commented Feb 4, 2021

I was talking about having artisan commands to create the livewire components and then include then.

Instead of:
<livewire:App\Modules\MyModule\Livewire\ComponentDoStuff::class>

We would use:
<livewire:MyModule::component-do-stuff>

@Artem-Schander
Copy link
Collaborator

I think this use case is too specific to be handled by such a general package like L5Modular.
Also you could create such a command yourself depending on the requirement of your project.

I'll let this issue open for a while and if it gets much attention, I'll consider creating an additional (kind of) Livewire-Plugin for L5Modular.

@lparede
Copy link
Author

lparede commented Feb 4, 2021

OK, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants