vue-kuzzle

A (very simple) Vuejs plugin shipping the Kuzzle SDK in your components
298 6
Install
npm install vue-kuzzle
Latest Version:0.0.2
License:ISC
Last Updated:Jun 27, 2025
Links: GitHub  ·  npm
Maintainer: xbill82

Vuejs Kuzzle Plugin

This plugin simply exposes the Kuzzle SDK in your Vuejs components.

Getting started

Install the plugin via

npm install vue-kuzzle

Then, in your Vuejs application, you need to register the plugin in your Vue class.

import VueKuzzle from 'vue-kuzzle';

Vue.use(VueKuzzle, options);

Where options may contain the following options.

options.backends

An object of available backends to connect to. Backends are POJOs of the following form (the example shows the default config):

options.backends = {
  local: {
    host: 'localhost',
    options: {
      port: 7512,
      sslConnection: false
    }
  }
};

The plugin will instantiate the Kuzzle SDK with the Websocket protocol, choosing among the available backends based on the process.env.VUE_APP_BACKEND environment variable. If this variable is not specified, the local backend is choosen as fallback.

Warning Don't forget to connect() your instance before performing any actions.

Accessing the Kuzzle SDK instance within the app

You'll be able to access the Kuzzle SDK instance from the components as

this.$kuzzle;

And from anywhere in your app where the Vue class is available, as

Vue.prototype.$kuzzle;

Related Packages

vue-plugin-kuzzle

A Vuejs plugin shipping the Kuzzle SDK in your components

29,257 6
@21cnfe/onekit-mp-cli

小程序框架开发工具

1,063
duplicate-dependencies-webpack-plugin

webpack plugin to find duplicated dependencies from your bundle

332,104 6
@debut/plugin-report

Report generation for strategy backtesting in debut

4,011 18
@amilochau/core-vue3

Core plugin for vue.js (v3) projects

3,802 0

Version History

Version Released License
0.0.2 ISC
0.0.1 ISC