Simple-Electron-Vue-WebPack-Project

  • npm install
  • npm run watch
  • npm start
src
|
|----app
|     |
|     |-----app.js(electron entry point)
|     
|
|----renderer
|       |
|       |-----main.js(vue entry point)
|       |-----routes.js(vue routes)
|       |
|       |-----home
|       |       |
|       |       |------home.vue(home page)
|       |
|       |-----editor
|       |       |
|       |       |------editor.vue(editor page)
|       |
|       |-----user
|       |       |
|       |       |------user.vue(user page)
|       |
|       |-----error
|       |       |
|       |       |------error.vue(404 page)
|       |
|       |-----html
|       |       |
|       |       |------index.ejs(publish html for electron)
|       |
|       |-----layouts
|       |       |
|       |       |------main.vue(main template)
|       |
|       |-----styles
|               |
|               |------style.css(main style)