laravue
laravue copied to clipboard
extend laravue from package
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 Sorry I didn't get your point. Did you mean this one: https://doc.laravue.dev/guide/development/new-page.html ?
@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
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 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 :).