#Voyager - how to automatically create views in resources,views,vendor,voyager,. . .
10 messages · Page 1 of 1 (latest)
Why? Looking at Voyager, it looks like its views aren’t meant to be publishable.
Nothing about views in here: https://github.com/the-control-group/voyager/blob/1.5/src/VoyagerServiceProvider.php#L246-L266
The docs also have a section on “overriding” view if that’s what you’re after: https://voyager-docs.devdojo.com/customization/overriding-files
Okay, it seams that we can override views
So is it possible to automatically override them? 😅
What do you mean?
You create a view where Voyager is expecting it to be.
That view is then used instead.
Yes, I understood that, but when you create a new Bread, views associated are in vendor/tcg/voyager/resources/views/... But I'd like to change some layouts and style so I put global bread views (brows, read,...) in resources/views/vendor/voyager/bread. But is it possible to, when you create a new bread, automatically create views files in resources/views/vendor/Voyager instead of vendor/tcg/voyager/resources/views/...?