Path problem after Packaging with vue-cli3.0 in cordova

Android applications have been developed with vue-cli2.0 and Cordova before, but it was a long time ago.
recently wanted to build the project from scratch with the new vue-cli3.0 and cordova, but encountered a path problem when debugging the real machine after packaging:
figure 1:
1

2:
2

1logo2vue:

clipboard.png

module.exports = {
  baseUrl: "",
  outputDir: "../www"
}

seek the answer of the Great God


Lou Zhu, baseUrl change to '. /' try

Menu