laravue icon indicating copy to clipboard operation
laravue copied to clipboard

extend laravue from package

Open yaroslav-zenin opened this issue 4 years ago • 3 comments

Hello

I'm trying to add left menu item from package Is there are any way to do that? some event? all my code will in package and later will be much easier to upgrade on new version of laravue thanks

yaroslav-zenin avatar Mar 24 '20 10:03 yaroslav-zenin

@yaroslav-zenin Sorry I didn't get your point. Did you mean this one: https://doc.laravue.dev/guide/development/new-page.html ?

tuandm avatar Mar 24 '20 17:03 tuandm

@tuandm yes, this changes but I would like to do that in my package for example, I create repo and start build code for ralavel then I connect it via provider from composer.json and my routes, migrations are start working image the same I want to do with interface, in this case vue (menus, etc) something like dispatch event ('after_menu_list_created', menuobject) then in my package I can catch it and put extra items to it any ideas how to do that? maybe other ways?

yaroslav-zenin avatar Mar 24 '20 19:03 yaroslav-zenin

@yaroslav-zenin Sorry for this late response. I think you are talking about the extendability like pluggable components. Actually it's the future plan of Laravue, which allows community writing plugins or packages based on the layout/components of this framework. Until then, we have a long way to go :).

tuandm avatar Jun 18 '20 16:06 tuandm