Disable A-Frame inspector (for production)

后端 未结 1 1558
既然无缘
既然无缘 2020-12-22 01:46

Hello fellow AFrame developers,

I would like to disable the inspector (Ctrl+Alt+I), for my production environment so the user can\'t open it and see the whole backst

1条回答
  •  礼貌的吻别
    2020-12-22 02:31

    The inspector is not bundled with A-Frame but downloaded on demand when opened. Disabling won't make any difference in library size. I recommend keeping it to preserve the open spirit of the Web where we can learn from each other. Are you worried about the built-in browser dev tools inspecting your site? The inspector is the equivalent for A-Frame markup. if you still want to disable you can do:

    0 讨论(0)
提交回复
热议问题