-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Description
Version
3.0.0-rc.9
Node and OS info
Node 10.6.0 / npm 6.2.0 / Windows 7
Steps to reproduce
After add code :
<meta http-equiv="Content-Security-Policy" content="object-src 'self'; font-src 'self' https: data:; script-src 'self' ">
to public/index.html
.
Then run vue-cli-service build --modern
in cmd.
What is expected?
No browser CSP error
What is actually happening?
The dist/index.html
has inline script, which cause browsers CSP error.
Maybe can offer a parameter to set nonce-...
to modern mode's inline script.
Alexays