Quasar v1 and websockets, any luck?



  • Hello,

    I would like to know if anyone has ever tried this plugin with Quasar:
    [https://www.npmjs.com/package/vue-socket.io-extended](link url)

    If yes would you have a good example on how to set it up please?
    For now I have created a boot file with:

    import VueSocketio from 'vue-socket.io-extended';
    import io from 'socket.io-client';
    import store from '../store';
    
    // "async" is optional
    
    export default async ({ Vue }) => {
      Vue.use(VueSocketio, io('wss://echo.websocket.org'), { store });
    };
    

    I am not sure on how to integrate a basic send/receive using Vuex,
    if you have an example it would be great thank you.


Log in to reply