Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Custom Card in Laravel Nova - Service Provider 1
<?php
// ...
public function boot()
{
parent::boot();
// Let Nova know where your compiled assets will be.
Nova::serving(function (ServingNova $event) {
// Only add the following line if you don't use Single File
// Components and plan to compile CSS separately.
// Nova::style('nova', public_path('assets/css/nova.css'));
Nova::script('nova', public_path('assets/js/nova.js'));
});
}
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment