1.2.10 • Published 3 years ago
@kangangga/vue-laravel-echo v1.2.10
vue-laravel-echo
vue router
Install
npm install @kangangga/vue-laravel-echo
#OR
yarn add @kangangga/vue-laravel-echo
config
import App from "./App.vue";
import { createApp } from "vue";
import VueEcho from '@kangangga/vue-laravel-echo'
const app = createApp(App);
app.use(VueEcho, {
key: "1234567",
cluster: "mt1",
wsPort: 6001,
wssPort: 6001,
wsHost: "localhost",
enabledTransports: ["ws", "flash"],
authEndpoint: "http://localhost:8000/laravel-websockets/auth",
enableStats: true,
forceTLS: false,
});
Related
TODO
Acknowledgments
TODO