VueJS and node for a step to production

0

I have a question, I have a project done with vue-cli , I run the command npm run build , I generate the dist and the index .

The idea is to deploy in a nodejs, which provides services and connection to the BD (mongo) I access and make requests to consume services and that; when I copy and paste the folders in the public of nodejs I can access correctly but at the time of a reload of the page I get

CANNOT GET /DIRECCION

How would that be solved?

    
asked by Jose Rojas 11.05.2018 в 17:13
source

1 answer

0

"CAN NOT GET / ADDRESS". It does not find / address. Is that route correct? It has happened to me, sometimes, that I'm wrong with a letter. Try Postman.

    
answered by 17.05.2018 / 21:59
source