electron-vue-ex
The $electron global function plugin for electron-vue.
Install
Install using NPM
npm i electron-vue-ex --save
Install using CNPM
cnpm i electron-vue-ex --save
Entry main.js
Vue
Using
Now you can use this.$electron
directly.
this$electronYourFunciton...;
Such as:
this$electronshell
Fix
2019/05/30 Fix 'fs.existsSync is not a function' problem.