• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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 17 Nov 2020, 10:31 17 Nov 2020, 10:30

    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 17 Nov 2020, 10:35

      Hi @raouf415,

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

      R 1 Reply Last reply 17 Nov 2020, 10:36 Reply Quote 0
      • R
        raouf415 @devansh-webkul last edited by raouf415 17 Nov 2020, 10:36 17 Nov 2020, 10:36

        @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 17 Nov 2020, 12:15

          Any solution for hot reload when i modify css ?

          1 Reply Last reply Reply Quote 0
          • devansh-webkul
            devansh-webkul last edited by 18 Nov 2020, 11:13

            Hi @raouf415,

            You can use npm run watch for development purposes.

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post