0.0.2 • Published 5 years ago

electron-vue-ex v0.0.2

Weekly downloads
1
License
MIT License
Repository
github
Last release
5 years ago

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

import Vue from 'vue'
import ElectronVueEx from 'electron-vue-ex'

Vue.use(ElectronVueEx)

Using

Now you can use this.$electron directly.

this.$electron.YourFunciton...;

Such as:

this.$electron.shell.openExternal('https://github.com/')

Fix

2019/05/30 Fix 'fs.existsSync is not a function' problem.