Home  >  Q&A  >  body text

javascript - csp issues when developing Google plug-ins with vue

I want to use vuejs and some component libraries to develop a Google plug-in, but due to the content security policy (csp), eval() new Function() and other javascript features cannot be used. Therefore, Vue cannot be used normally, and the official documentation only vaguely talks about this part.

typechotypecho2685 days ago911

reply all(1)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-07-05 11:04:25

    According to the documentation, you should just use the runtime-built version: https://github.com/vuejs/vue/...

    reply
    0
  • Cancelreply