Home > front end >  Vue local test without any problems, but the online login deployment can't jump routing and an
Vue local test without any problems, but the online login deployment can't jump routing and an

Time:10-09


Vue local environment test without any problems, but on-line deployment error in images, to how to solve?
Online project have can show the login page, and the background request also show the login successfully, but just don't jump? I was too difficult

CodePudding user response:

Look at your configuration assetsPublicPath and your online project name is not matching, network, look at the file path of the request is correct

CodePudding user response:

The Unexpected token * the wrong is my error code?

CodePudding user response:

refer to the second floor guy owe around response:
the Unexpected token * this is my fault code error?
should not, I've met such an error, because the server's root path and the local path is different, lead to the path of the request file is not correct, don't know whether you like this
  • Related