New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to overwrite Vue component files? #1992
Comments
Hi @lYesterdaYl , Could you please explain the issue ? youpackage->src->Resources->assets->js->components->image->image-item.vue Thanks, |
Hi, I created a file called "image-item-new.vue" under "\packages\Webkul\Ui\src\Resources\assets\js\components\image" which different code, and changed app.js to "Vue.component("image-item", require("./components/image/image-item-new"));" Finally, I ran npm run dev, but sadly, not working for me. Do I need to compile with another command? |
Hi @lYesterdaYl Kindly run npm run watch-poll and clear browser cache then check. |
I am considering this issue resolved as there is no reply from the last 28 days. |
Hi, I am having similar issues where I am editing the packages\Webkul\Ui\src\Resources\assets\js\components\image component in the webkul folder and they are not updating. Do you have any suggestions on how to recompile the components? |
is there any solution for this? where is the Bagisto community maintainer, why they do not reply to the issue? |
rahulshukla-webkul , hello, I need your help. I want to override the Module A vue.js component in my custom Module B. What would be the procedure? |
@jitendra-webkul can you please answer to my question? |
Hi @ejaz-alam-dev,
|
as I am new to this platform. I need to know the exact case for this. |
I can guide you but first, clear me things that I asked above.
|
@devansh-webkul , first of all thank you so much and I really appreciate that you replied. secondly, there were some changes I had to make to the existing functionality of Bagisto. I wrote a custom module in a root/packages folder like
there I created my custom vue.js in
I tried to follow the same directory structure as the main file which was in
now in the custom file which is in my module, I am trying to get the content of the Webkul vue component but it is unable to find it. I need your guidance what is the exact and recommended way to override a vue file. thanks |
I want to overwrite image-items under packages\Webkul\Ui\src\Resources\assets\js\components\image
How do i do that properly?
The text was updated successfully, but these errors were encountered: