Electron – Uncaught Error: Cannot find module ‘axios’

re-check if modul installed.

yarn add axios //or npm install axios --save

add plugin/modul in the webpack.renderer.config.js, like

let whiteListedModules = ['vue','axios','vue-electron', 'vue-router', 'vuex', 'vuex-electron','element-ui']

Views: 54