0 votes
in VueJS by

How do you make sure vue application is CSP complaint?

1 Answer

0 votes
by

Some environments(Google Chrome Apps) prohibits the usage of new Function() for evaluating expressions and the full builds of vue applications depends on this feature to compile templates. Due to this reason, the full builds of VueJS application are not CSP complaint.

In this case you can use runtime-only builds with Webpack + vue-loader or Browserify + vueify technology stack through which templates will be precompiled into render functions. This way you can make sure VueJS applications are 100% CSP complaint.

Related questions

0 votes
asked Aug 6, 2023 in Flutter by DavidAnderson
+1 vote
asked Sep 16, 2019 in BlockChain by john ganales
...