SimulatedGREG / electron-vue

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.
https://simulatedgreg.gitbooks.io/electron-vue/content/
MIT License
15.47k stars 1.54k forks source link

Only one empty interface #995

Open MGYH opened 4 years ago

MGYH commented 4 years ago

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