Custom CSS using Nova::style on sail - file not found #3500
Unanswered
powellblyth
asked this question in
Q&A
Replies: 1 comment
-
Please follow guide from our documentation, above video was release 2 years ago and using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
I'm running Nova on Sail, and I wanted to add a custom button colour.
I followed @davidhemphill 's video up to 1:20 to try and get any css file to show
https://www.youtube.com/watch?v=InK-mRH9z5M&t=85s
However, http://localhost:6080/nova-api/styles/elasticutNova gives me
However, from my browser, I can access this URL
http://localhost:6080/css/elasticutNova.css
just fineI think it's to do with PHP inside Sail trying to access the external address using file_get_contents, and failing, because it's obviously not a docker address
this is from
vendor/laravel/nova/src/Http/Controllers/StyleController.php:28
Detailed steps to reproduce the issue on a fresh Nova installation:
Beta Was this translation helpful? Give feedback.
All reactions