VUE-CLI cross-domain solution of 4

Happening

Recently, using a bit Vue.js
but scaffolding vue-cli has been upgraded to a 4 time with or 2---

problem

The directory structure of the project occurred in relatively large changes
but because I had almost forgotten the structure 2 so it did not have much impact - -
but a lot of configuration operation is really quite different than the previous example, I want to find config file can not be found

solution

Later learned that his search for a new vue.config.js in the same directory package.json just fine
specific code online but in fact has slightly different so each to their own success stickers look good (siskin

Specific code

Guess you like

Origin www.cnblogs.com/cherryjean/p/12175424.html