Skip to content

Instantly share code, notes, and snippets.

@Aschen Aschen/component.vue
Created Feb 11, 2019

What would you like to do?
<button @click="testMe()">Click Me</button>
import kuzzle from '@/kuzzle'
export default {
name: 'Test',
data() {
return {
methods: {
async testMe() {
const response = await;
<style lang="sass">
const { Kuzzle, WebSocket } = require('kuzzle-sdk/dist/kuzzle');
const kuzzle = new Kuzzle(
new WebSocket('localhost')
window.kuzzle = kuzzle;
export default kuzzle;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.