nebulapackage / nebula

Nebula is a minimalistic and easy to use administration tool for Laravel applications, made with Laravel, Alpine.js, and Tailwind CSS.
https://nebulapackage.com
225 stars 27 forks source link

Option for overriding default views #21

Closed Hasnayeen closed 4 years ago

Hasnayeen commented 4 years ago

This PR provides option for overriding default views.

User will be able to publish the view files to resources/views/vendor/nebula and override them as they like.

Hasnayeen commented 4 years ago

Looks like another commit got merged in this, I'll close this PR but wait for your (@Larsklopstra ) comment on the review before opening a new PR

ryangjchandler commented 4 years ago

I think using resource_path() is going to be the safest and most reliable bet here. You'll find the same code recommended in Laravel documentation when it comes to publishing stuff.