SimulatedGREG / Vue Electron
Licence: isc
The vue plugin that attaches electron APIs to the Vue object, making them accessible to all components.
Stars: ✭ 283
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Vue Electron
Vst.net
Virtual Studio Technology (VST) for .NET. Plugins and Host applications.
Stars: ✭ 267 (-5.65%)
Mutual labels: plugin
V Track
🕹 A manual tracking decoupling plugin based on Vue directive / 一个基于Vue指令实现的埋点解耦插件~
Stars: ✭ 277 (-2.12%)
Mutual labels: plugin
Sidr
Sidr is a jQuery plugin for creating side menus and the easiest way for doing your menu responsive.
Stars: ✭ 2,924 (+933.22%)
Mutual labels: plugin
Protein
💊 Protein is an IntelliJ Plugin to generate Kotlin code for Retrofit 2 and RxJava 2 based on a Swagger definition
Stars: ✭ 273 (-3.53%)
Mutual labels: plugin
Hisocket
It is a lightweight client socket solution, you can used it in C# project or Unity3d
Stars: ✭ 275 (-2.83%)
Mutual labels: plugin
Airflow Rest Api Plugin
A plugin for Apache Airflow that exposes rest end points for the Command Line Interfaces
Stars: ✭ 281 (-0.71%)
Mutual labels: plugin
Flow Netbeans Markdown
Markdown file support for the NetBeans IDE
Stars: ✭ 276 (-2.47%)
Mutual labels: plugin
Unreal.js
Unreal.js: Javascript runtime built for UnrealEngine 4
Stars: ✭ 3,087 (+990.81%)
Mutual labels: plugin
Merge Duplicate Symbols
Sketch plugin to merge symbols and layer&text styles.
Stars: ✭ 272 (-3.89%)
Mutual labels: plugin
Rollup Plugin Ts
A Typescript Rollup plugin that bundles declarations and respects Browserslists
Stars: ✭ 273 (-3.53%)
Mutual labels: plugin
Brackets Snippets
Imitate Sublime Text's behavior of snippets, and bring it to Brackets.
Stars: ✭ 279 (-1.41%)
Mutual labels: plugin
Vim Lastplace
Intelligently reopen files at your last edit position in Vim.
Stars: ✭ 271 (-4.24%)
Mutual labels: plugin
Cordova Httpd
Embed tiny web server into Cordova with a plugin
Stars: ✭ 271 (-4.24%)
Mutual labels: plugin
vue-electron
The vue plugin that wraps electron APIs to the Vue object.
Need a full boilerplate for creating electron apps built with vue? Make sure to check out electron-vue.
https://github.com/SimulatedGREG/electron-vue
Installing
Install using NPM
npm install vue-electron --save
Include using webpack or browserify
main.js
import Vue from 'vue'
import VueElectron from 'vue-electron'
Vue.use(VueElectron)
Using the plugin
This plugin will attach electron APIs to the Vue object itself, so accessing all APIs is dead simple. All official documentation from electron can be used and accessed from this.$electron
.
So instead of...
const electron = require('electron')
export default {
methods: {
getName () {
return electron.remote.app.getName()
}
}
}
Now you can...
export default {
methods: {
getName () {
return this.$electron.remote.app.getName()
}
}
}
Now you might be thinking, "Is it really that annoying to simply require electron to access it?" Probably not, but it can get cumbersome to have to include it in every component file that needs it. In the end, attaching electron directly to Vue just makes sense.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].