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.48k stars 1.55k forks source link

Apps are not displayed properly #1025

Open kingangelAOA opened 4 years ago

kingangelAOA commented 4 years ago

Found an issue or bug with electron-vue? Tell me all about it!

Questions regarding how to use electron or vue are likely to be closed as they are not direct issues with this boilerplate. Please seek solutions from official documentation or their respective communities.

Describe the issue / bug.

#

test_vue@0.0.1 dev /home/yituadmin/work/test_vue node .electron-vue/dev-runner.js

     ___                      __                                                                

/_ \ /\ _ _
/ ,.\ \//\ \ / ,.\ /'__\ \ \ ,\ /`
\ / \ /' _\ _____ /\ \/\ \/\ \/\ \ / ,.`\ /\ / _\ _ /\ / /\ _/ \ \ \/ \ \ \/ /\ _\ \/\ \/\ \ /_____\ \ \/ |\ \ _\ \/\ / \ _\ /_\ __\ __\ \ \ _ \ _\ \ _/\ _\ \\/__/ \ _/ \ _/\ __\ \// \// \// \// \ __\ \// \/_/ \//\// \// \/_/ \/__/ \//
getting ready...

┏ Main Process ---------------

compiling...

┗ ----------------------------

┏ Renderer Process -----------

Hash: 7efda7360e763b0078c0 Version: webpack 4.43.0 Time: 1924ms Built at: 2020-06-18 12:03:49 Asset Size Chunks Chunk Names imgs/logo--assets.png 60.4 KiB [emitted]
index.html 410 bytes [emitted]
renderer.js 1.8 MiB renderer [emitted] renderer Entrypoint renderer = renderer.js [1] multi (webpack)-dev-server/client?http://localhost ./.electron-vue/dev-client ./src/renderer/main.js 52 bytes {renderer} [built] [./.electron-vue/dev-client.js] 731 bytes {renderer} [built] [./node_modules/strip-ansi/index.js] 161 bytes {renderer} [built] [./node_modules/vue/dist/vue.esm.js] 319 KiB {renderer} [built] [./node_modules/webpack-dev-server/client/index.js?http://localhost] (webpack)-dev-server/client?http://localhost 4.29 KiB {renderer} [built] [./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {renderer} [built] [./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {renderer} [built] [./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.91 KiB {renderer} [built] [./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {renderer} [built] [./node_modules/webpack-dev-server/client/utils/reloadApp.js] (webpack)-dev-server/client/utils/reloadApp.js 1.59 KiB {renderer} [built] [./node_modules/webpack-dev-server/client/utils/sendMessage.js] (webpack)-dev-server/client/utils/sendMessage.js 402 bytes {renderer} [built] [./node_modules/webpack-hot-middleware/client.js?noInfo=true&reload=true] (webpack)-hot-middleware/client.js?noInfo=true&reload=true 7.68 KiB {renderer} [built] [./node_modules/webpack/hot sync ^.\/log$] (webpack)/hot sync nonrecursive ^.\/log$ 170 bytes {renderer} [built] [./src/renderer/App.vue] 1.11 KiB {renderer} [built] [./src/renderer/main.js] 382 bytes {renderer} [built]

┗ ----------------------------

┏ Main Process ---------------

Hash: 6bef35d0d0e82cab552b Version: webpack 4.43.0 Time: 2094ms Built at: 2020-06-18 12:03:50 Asset Size Chunks Chunk Names main.js 218 KiB main [emitted] main Entrypoint main = main.js [0] multi ./src/main/index.dev.js ./src/main/index.js 40 bytes {main} [built] [./node_modules/cross-unzip/index.js] 1.5 KiB {main} [built] [./node_modules/electron-debug sync recursive] ./node_modules/electron-debug sync 160 bytes {main} [built] [./node_modules/electron-debug/index.js] 2.46 KiB {main} [built] [./node_modules/electron-devtools-installer/dist/downloadChromeExtension.js] 2.26 KiB {main} [built] [./node_modules/electron-devtools-installer/dist/index.js] 5.02 KiB {main} [built] [./node_modules/electron-devtools-installer/dist/utils.js] 1.88 KiB {main} [built] [./node_modules/electron-is-dev/index.js] 256 bytes {main} [built] [./node_modules/electron-localshortcut/index.js] 8.78 KiB {main} [built] [./node_modules/semver/semver.js] 37.9 KiB {main} [built] [./src/main/index.dev.js] 364 bytes {main} [built] [./src/main/index.js] 801 bytes {main} [built] [electron] external "electron" 42 bytes {main} [built] [fs] external "fs" 42 bytes {main} [built] [path] external "path" 42 bytes {main} [built]

┗ ----------------------------

┏ Electron -------------------

Debugger listening on ws://127.0.0.1:5858/134c3e0b-7b6e-4348-8e7a-1a774f6ad8b5 For help see https://nodejs.org/en/docs/inspector

┗ ----------------------------

How can I reproduce this problem?

# 1.Rebuild a clean project

  1. npm run dev
    If visual, provide a screenshot.

    # image

Tell me about your development environment.

If you are looking to suggest an enhancement or feature, then feel free to remove everything above.