#Voyager - how to automatically create views in resources,views,vendor,voyager,. . .

10 messages · Page 1 of 1 (latest)

rustic wren
#

Hi, I would like to create automatically views in resources/views/vendor/voyager/... instead of vendor/tcg/voyager/resources/...
Is it possible ? How to do please ?
Thanks!

kind canopy
#

Why? Looking at Voyager, it looks like its views aren’t meant to be publishable.

rustic wren
#

Okay, it seams that we can override views

#

So is it possible to automatically override them? 😅

kind canopy
#

What do you mean?

#

You create a view where Voyager is expecting it to be.

#

That view is then used instead.

rustic wren
#

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/...?