Publishing does not work



  • Hello,

    I am wondering, how does "bagisto:publish" work ?

    1. I made some modifications in \packages\Webkul\Velocity\src\Resources\views\shop\home\index.blade.php
    2. I used the command : php artisan bagisto:publish
    3. It returned ... Copied Directory [\packages\Webkul\Velocity\src\Resources\views\shop] To [\resources\themes\velocity\views] ...

    But the file did not change... And I also notice that both file are differents...

    Could you tell me if I misunderstood something?

    Thanks!



  • Hi there.
    Please run the publish command forcefully.

    php artisan bagisto:publish --force
    

    If still facing the issue please let me know.



  • @Amitk-Webkul said in Publishing does not work:

    Hi there.
    Please run the publish command forcefully.

    php artisan bagisto:publish --force
    

    If still facing the issue please let me know.

    Yes, I am still facing the issue...

    Ok, my bad. I confused these two files :

    • packages\Webkul\Velocity\src\Resources\views\shop\home\index.blade.php
    • packages\Webkul\Shop\src\Resources\views\home\index.blade.php

    Could you explain why packages\Webkul\Shop\src\Resources\views\home\index.blade.php exists ? I guess Bagisto can not work without a theme. So what is the purpose of this file?

    In others words, should I update it to be sure my modifications always take effect?

    (To put it in context, I integrated GrapesJS to the admin interface to have a real WYSIWYG system when editing the homepage or CMS pages. So I need to modify the views to display the new html and css from grapesjs.)



  • This post is deleted!


  • Hi there,

    Bagisto is the used theme and has two themes default and velocity.

    The below path is of the default theme.

    packages\Webkul\Shop\src\Resources\views\home\index.blade.php
    


  • @Amitk-Webkul said in Publishing does not work:

    Hi there,

    Bagisto is the used theme and has two themes default and velocity.

    The below path is of the default theme.

    packages\Webkul\Shop\src\Resources\views\home\index.blade.php
    

    Ok thanks!


Log in to reply