GET http://localhost/app.js net::ERR_ABORTED 404 (Not Found)

I have made a build from Vue Cli (Vue ui), and when testing the project from my localhost (XAMPP) the application appears blank, and errors like these:

There’s a number of reasons for this, but it’s impossible for us to help without knowing anything about your project, its structure, and its configuration.

This is the structure of the project:



module.exports = {
  publicPath: './'

This configuration was made because I read that it could be a possible solution to my failure, but it has not been.

When sharing code, please don’t use screenshots to do so.

The people wanting to help you can’t copy that code from the screenshot when they want to edit it for you.

So you make their work unnecessarily hard.

Instead, share the code as text and make sure to use proper Syntax Highlighting

1 Like

How do you serve your project? You say XAMP but what exactly do you do?

I will take into account your advice on sharing code in the forum and I will improve my practices.

My project is an application in Vue that uses an api made in codeigniter, locally I want to test the “dist” in my localhost with a server in XAMPP.

With this I have another question, if I want to put my project in development it has to be a type of specific server type node?