An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.
I executed
npm install -g vue-cli
vue init simulatedgreg/electron-vue my-project
cd my-project
yarn
yarn run dev
But I got an empty interface and a warning
Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security Policy set or a policy with "unsafe-eval" enabled. This exposes users of this app to unnecessary security risks.
I executed npm install -g vue-cli vue init simulatedgreg/electron-vue my-project cd my-project yarn yarn run dev But I got an empty interface and a warning Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security Policy set or a policy with "unsafe-eval" enabled. This exposes users of this app to unnecessary security risks.
For more information and help, consult https://electronjs.org/docs/tutorial/security. This warning will not show up once the app is packaged.
About two weeks ago, I used it successfully, and I use it completed a demo. This week, it demo also failed.
development environment.
Node version: v12.16.1 NPM version: 6.13.4 vue-cli version: 2.9.6 Operating System: win10