No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Quasar v1 and websockets, any luck?

    Help
    1
    1
    187
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bambinou last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post