laravel Archives - Code Craftsman http://www.codecraftsman.us/ Tales from a Dev Dad Sun, 04 Jul 2021 04:05:36 +0000 en-US hourly 1 https://wordpress.org/?v=5.9.3 https://www.codecraftsman.us/wp-content/uploads/2020/08/cropped-code-craftsman-logo-32x32.png laravel Archives - Code Craftsman http://www.codecraftsman.us/ 32 32 Use Laravel Nova core components in your custom Vue component https://www.codecraftsman.us/use-laravel-nova-core-components-in-your-custom-component/ Thu, 24 Jun 2021 04:46:00 +0000 https://www.codecraftsman.us/?p=365 At time of post, Laravel Nova is currently using Vue 2.5.0. I’ve been working with Laravel lately, and particularly the Nova admin framework. In this case I was building a custom modal that launches from a Detail view and provides an entity creation form. I didn’t want to re-invent the wheel with regard to form elements, so I dug into Nova source a bit and found some clues as to how I can re-use some of their Vue components. You’ll find all of the Nova global component registrations here: I needed a BooleanGroupField, so I referenced the component key seen…

The post Use Laravel Nova core components in your custom Vue component appeared first on Code Craftsman.

]]>