Home » vue » Where is app.js file? What does it mean? in vue

Where is app.js file? What does it mean? in vue

Posted by: admin November 26, 2021 Leave a comment

Questions:

enter image description hereenter image description here enter image description hereenter image description here
enter image description here

Hello, there is no app.js file in my website, but I keep getting this error and it affects the site. Normally, Google Lighthouse gives information about the problem, but this time Google Lighthouse didn’t give the any information. What do you recommend?

Thank you

Answers:

app.js is the "bundle". It is a concatenation of all your application’s files into one.

Try running:

npm run build

and inspect the files generated at the /dist folder.

The files in the /dist folders are basically the output webpack produces when it builds your project. app.js itself, as said, is a concatenation of all your application’s files (those written by yourself and maybe some third-party that you imported), after some transformations performed by plugins and webpack itself.