报错
Source and destination must not be the same.
Error: Source and destination must not be the same.at Object.checkPathsSync (...\node_modules\fs-extra\lib\util\stat.js:52:11)
原因
stat.js 中打断点,发现dist 目录下有index.html
(vue-cli 将dist/index.html认为入口了?)
解决
删除dist目录。(删除vue-cli 的输出目录)
npm run serve