Vue packages version mismatch:
- vue@2.6.11
- vue-template-compiler@2.5.10
This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.
说明 vue-template-compile版本不兼容,
npm i vue-template-compiler@2.6.11 --save
就解决了