vuejs-templates / webpack-simple

A simple Webpack + vue-loader setup for quick prototyping.
2.27k stars 894 forks source link

BUG: Dist build assets path broken #169

Closed NuroDev closed 6 years ago

NuroDev commented 6 years ago

When building a project using the provided build script, everything functions as expected. Except when opening the exported site, any assets such as images, sounds, svg, etc all of which have broken paths in the dist js file. (Tested with both my in-progress project and with a brand new project)

Example:

The /dist path either needs a . prefix or the / removed as it is trying to point to the system root. Also the asset names should not have a postfix.