fuse-box / fuse-box-vue-seed

Get started with Vue.js using FuseBox module loader and bundler
MIT License
74 stars 13 forks source link

Asset references of Vue Components are not resolved #20

Open ghost opened 5 years ago

ghost commented 5 years ago

Just clone the repro => npm install => npm start. This error is displayed in the terminal:

Errors for vendor bundle
  → ERROR Asset reference "components.css" has failed to resolve in module "default"

It's just not working. My own project has the same issue. The images are displayed correctly in this git project, because src and dist are both on the root level.

I will change this for my project too (atm it's ./ClientApp and wwwroot/dist). In my project the images are not displayed, because the img-path is set to assets/XXX.png and not resolved correctly.