mubaidr / vite-vue3-browser-extension-v3

Another vite powered web extension (chrome, firefox, etc.) starter template.
506 stars 67 forks source link

I want to use vue-18n in this project. However there is an error. Can you give me some solution? #36

Closed 14790897 closed 1 year ago

14790897 commented 1 year ago

vue-i18n.js?v=9913f811:2570 Uncaught (in promise) EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost: http://127.0.0.1:".

mubaidr commented 1 year ago

Please visit this link for information how to set permissions: https://developer.chrome.com/docs/extensions/mv3/manifest/content_security_policy/