mirror of
https://github.com/oxen-io/oxen-electron-gui-wallet.git
synced 2023-12-14 06:13:02 +01:00
20 lines
429 B
JavaScript
20 lines
429 B
JavaScript
import { Gateway } from "src/gateway/gateway"
|
|
|
|
/* This plugin gets called early in the life-cycle
|
|
In the future, we can detect what platform we
|
|
are on and include the correct gateway.
|
|
|
|
The gateway just gets stored into the app global
|
|
object to be called from anywhere within the
|
|
frontend
|
|
*/
|
|
|
|
export default ({
|
|
app,
|
|
router,
|
|
store,
|
|
Vue
|
|
}) => {
|
|
Vue.prototype.$gateway = new Gateway(app, router)
|
|
}
|