Last active
October 12, 2018 08:30
-
-
Save richartkeil/b61bcc2b70235a7a13141b3d0d572e7c to your computer and use it in GitHub Desktop.
Custom Card in Laravel Nova - Service Provider 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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