# vued-electron

> A small wrapper for integrating electron to Vuejs

Latest version **3.0.2** (published 2020-05-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install vued-electron
pnpm add vued-electron
yarn add vued-electron
bun add vued-electron
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.2 |
| Published | 2020-05-19 |
| First published | 2020-05-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | IT-MikeS |
| Maintainers | _mike_summ |

## Links

- npm: https://www.npmjs.com/package/vued-electron
- npm.io page: https://npm.io/package/vued-electron

## Recent versions

- 3.0.2 (latest) — 2020-05-19
- 3.0.1 — 2020-05-19
- 3.0.0 — 2020-05-19
- 2.1.6 — 2020-05-19
- 2.1.5 — 2020-05-19

## README

# vued-electron
A small wrapper for integrating electron to Vuejs

## How to install:
### CommonJS:
```bash
npm install --save electron vued-electron
```

And in your entry file:
```js
import Vue from 'vue'
import VuedElectron from 'vued-electron'

if(navigator.userAgent.toLowerCase().indexOf('electron/') > -1) {
  const electron = window.require('electron');
  Vue.use(VuedElectron, electron)
}
```

## Usage:
This wrapper binds `electron` to `this` using single file components.

You can use `electron` like this:
```js
this.$electron
```

Please check documention of [electron](https://www.electronjs.org/docs)

---
_Source: https://npm.io/package/vued-electron · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
