electron-vue-ex

0.0.2 • Public • Published

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.

Package Sidebar

Install

npm i electron-vue-ex

Weekly Downloads

2

Version

0.0.2

License

MIT License

Unpacked Size

2.41 kB

Total Files

4

Last publish

Collaborators

  • seeyoz