Closed motailab closed 4 years ago
Hello,
If I remember well what I did...
vendor/brackets/admin-ui/resources/*
to resources/admin/*
and edit them.@include
s into your new pasted files...Keep me in touch !
Thank you :)
Laravel provide this concept of overriding the views of any vendor (package) including Craftable. Check out more info in the oficial docs: https://laravel.com/docs/6.x/packages#views (Overriding Package Views
)
@palypster what if we want to keep the same views format but just make minor changes ? Could you kindly explain how to properly and cleanly export all views and necessary vue files ?
Hello, As I told before, and as @palypster you have to copy templates in your resources directory and edit them.
- I just copied files from
vendor/brackets/admin-ui/resources/*
toresources/admin/*
and edit them.- Maybe you gonna have to change path in all the
@include
s into your new pasted files...
@codeurfou copying only admin-ui/resources/admin/*
view files is not enough. As it doesn't contain, for example, the login form view as well as many others. I'd need to copy all resources in all folders to have a whole copy of all of the views? If not, which ones do I really need to copy?
@elshobokshy sorry, I think we don't know the answer, this is something we did not have in mind when we developed.
I can help you navigate though what packages have SOME frontend, it might help you with investigation:
in case someone in the future search about this topic, here is the way i solve it.
Happy override...
i can't see any proper documentation about modifying layouts, like footer, menu etc. :)