📌  相关文章
📜  react 拒绝执行内联脚本,因为它违反了以下内容安全策略指令 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:51.343000             🧑  作者: Mango

代码示例1
If you are using React:

create a .env file in project root

Add variable as follows: INLINE_RUNTIME_CHUNK=false

Build the project again and load the extension again.