diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js index 1b6d4d75..85086449 100644 --- a/build/webpack.dev.conf.js +++ b/build/webpack.dev.conf.js @@ -48,7 +48,7 @@ const devWebpackConfig = merge(baseWebpackConfig, { poll: config.dev.poll }, headers: { - 'content-security-policy': "base-uri 'self'; frame-ancestors 'none'; img-src 'self' data: https: http:; media-src 'self' https:; style-src 'self' 'unsafe-inline'; font-src 'self'; manifest-src 'self'; script-src 'self';" + 'content-security-policy': "script-src 'self' 'unsafe-eval'; base-uri 'self'; frame-ancestors 'none'; img-src 'self' data: https: http:; media-src 'self' https:; style-src 'self' 'unsafe-inline'; font-src 'self'; manifest-src 'self'" } }, plugins: [ @@ -67,7 +67,12 @@ const devWebpackConfig = merge(baseWebpackConfig, { BASE_URL: devEnv.ASSETS_PUBLIC_PATH + config.dev.assetsSubDirectory, }, }), - ] + ], + resolve: { + alias: { + vue: 'vue/dist/vue.js' + } + } }) module.exports = new Promise((resolve, reject) => {