Closed ronnorthrip closed 2 years ago
it is already done
you can use use php artisan vendor:publish
command to check the list and publish the views using shopify-views tag
views would be better than shopify-views - but at least put that in the docs please
You can override views already in packages, as you just need to put the vendor folder inside the views folder and then the file you wish to override.
It would look something like this
- resources
- - views
- - - vendor
- - - - shopify-app
- - - - - layouts
- - - - - - default.blade.php
I'd suggest that we add the ability to publish the views so people can override them easier and so we can match other packages.
Should copy the files from src/resources/views into APP/resources/vendor/shopify-app.
I point this out not only to follow the dev ex from other packages but also because the dir name isn't the exact same as the vendor package.
Thoughts?