webpack icon indicating copy to clipboard operation
webpack copied to clipboard

Change assetsPublicPath for production to ./

Open asselin opened this issue 7 years ago • 1 comments

Also, remove warning message about not working over file://

This PR fixes #200 to enable Cordova, file://, and serving from a higher directory (e.g. building into test/dist and serving test/).

Also see PR #530 related to this one, which fixes a similar type of path issue loading fonts.

asselin avatar Feb 21 '17 19:02 asselin

@LinusBorg See https://github.com/vuejs-templates/webpack/issues/200#issuecomment-255557630 I haven't personally tested it, but @mixedCase claims there's no issue running with vue-router in history mode and assetsPublicPath set to './'.

asselin avatar Feb 21 '17 23:02 asselin