Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    App.js changes issues when run npm run prod

    Modules
    2
    5
    395
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      raouf415 last edited by raouf415

      Hey ,
      i' doing some modification in css file of velocity when i run npm run prod the change was reflected but the new file app.js generated cause somme issues card disapear from menu and image of product not showing
      here is screenshoot
      alt text

      here is result
      alt text

      when i copy app.js from repo it works but when i generate it did'nt work as expected

      can you please help me ?

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Hi @raouf415,

        After running npm run prod, just run php artisan vendor:publish --all --force.

        R 1 Reply Last reply Reply Quote 0
        • R
          raouf415 @devansh-webkul last edited by raouf415

          @devansh-webkul
          yes i'm doing that for this reason card and image disapear

          1 Reply Last reply Reply Quote 0
          • R
            raouf415 last edited by

            Any solution for hot reload when i modify css ?

            1 Reply Last reply Reply Quote 0
            • devansh-webkul
              devansh-webkul last edited by

              Hi @raouf415,

              You can use npm run watch for development purposes.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post