nova-package-development
nova-package-development copied to clipboard
Generating additional tools into a pre-existing package
I have a package (nova-google-analytics) with two metrics. I wanted to add a card, so I ran php artisan nova:card tightenco/nova-google-analytics-another-card
and then copied the files out of the generated directory into my existing package repo.
Is there a better way to do this? Or is this the best option for now?
I feel like an --external
or similar would be a very useful thing for the Nova make commands to all support where they would accept a file path to output the files in, so if you are doing an external package you'd be able to have them immediately placed in the external package, and pulled in via Composer using the path
repositories type.