Question: Editing Files Not Reflecting On Views

Editing Files Not Reflecting On Views

Hi, I'm trying to edit the files at resources/js/Pages/ but the changes are not reflecting on the application. What could be the issue?

ES

emid stokes

Asked
Hi,

I'm trying to edit the files at resources/js/Pages/ but the changes are not reflecting on the application. What could be the issue?
  • MS

    Mian Saleem

    Answered
    Hello,

    You will need to build the app with `npm run prod` after installing the dependencies with `npm i`

    Thank you
  • ES

    emid stokes

    Answered
    Thank you for your reply. So it works locally but when I upload the single edited file to cpanel it doesn't reflect the changes. What to do?
  • MS

    Mian Saleem

    Answered
    Hello,

    Because the file modified is not used but the production build is used. You need to upload the `public` again.

    Thank you
  • Login to Reply