fix: video can not be loaded

This commit is contained in:
Clark Du 2017-11-03 10:36:01 +08:00
parent 3e637c5d83
commit 04a2ffb016
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ export default function vueLoader() {
}, },
template: { template: {
doctype: 'html' // For pug, see https://github.com/vuejs/vue-loader/issues/55 doctype: 'html' // For pug, see https://github.com/vuejs/vue-loader/issues/55
},
transformToRequire: {
video: 'src',
source: 'src'
} }
} }