php artisan make:model Status -a
php artisan nova:card provider/nova-clock
php artisan nova:value NewCommits
php artisan nova:trend NewClientsTrend
php artisan nova:resource Client
https://github.com/TitasGailius/nova-search-relations
https://github.com/ebess/advanced-nova-media-library
https://docs.spatie.be/laravel-medialibrary/v7/installation-setup/
https://docs.spatie.be/laravel-medialibrary/v7/basic-usage/preparing-your-model/
Can be customized on NovaServiceProvider.php
protected function cards()
{
return [
// new Help(),
(new NewClients())->width('1/2'),
(new NewClientsTrend())->width('1/2'),
(new NewCommits())->width('1/2'),
(new NewCommitsTrend())->width('1/2'),
// (new NovaClock())->currentUser(),
];
}
Copy /nova/resources/views/layout.blade.php to /resources/views/vendor/nova/ Add to the end of the file:
<!-- Change language default -->
<script src="https://npmcdn.com/[email protected]/dist/l10n/pt.js"></script>
<script>
flatpickr.localize(flatpickr.l10ns.pt)
flatpickr('.flatpickr-input')
</script>