Laravel Nova - Include additional css files
Nova::style
is used to add styles to the existing bundles. Therefor, Laravel Nova needs a direct path to the CSS file so these can be parsed. Use the function public_path
to get an absolute path to files in the public folder. This way, Nova can read the files.
Nova::style('admin', public_path('css/admin.css'));