Error description
Vue-cli3 project compilation reported an error error failed to compile with 1 errors code>, but there is no error message below.
The reason is that I put router.js code> is placed in the
router code> folder, and a new
is created routes.js code> to store referenced components. At first, I thought it was the wrong configuration of
Vue router code> or the wrong path of component reference.
Later, I found out that it was because I enabled eslint code> code checking routes.js code> there is an error in the code within the referenced component. What I want to do here is to move the component path one layer deeper (from
views code> to
views/acitve code>), but the image path quoted in it is still the original, so it is wrong.
terms of settlement
Just change to the right path.