0.0.20 • Published 1 year ago

vue-wiguet-chatweb v0.0.20

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Descripcion

Paquete para el uso de CHAT CENTRAL mediante un widget chat,

Instalacion

Instalacion del paquete

npm i vue-wiguet-chatweb

Variables de Entorno

VITE_BACKEND_URL=http://192.168.20.107:8500
VITE_BROKER_URL=ws://192.168.20.107:15674/ws
VITE_USERNAME=admin
VITE_PASSWORD=password

configuracion de variables de Entorno

import widgetChatCentral from 'vue-wiguet-chatweb'

const app = createApp(App);
app.use(widgetChatCentral, {
      VITE_BACKEND_URL:import.meta.env.VITE_BACKEND_URL;
      VITE_BROKER_URL:import.meta.env.VITE_BROKER_URL;
      VITE_USERNAME:import.meta.env.VITE_USERNAME;
      VITE_PASSWORD:import.meta.env.VITE_PASSWORD;
});

app.mount('#app');

phoneUser: Registrado en RRHH

tokenAuth: Auth MS-Seguridad V2

Instalacion y Uso del Widget

Configuracion de Paquete en el componente

<template>
  <div>
      <Widget titlePrincipal="titlePrincipal" :tokenAuth="token" :phoneUser="phone"/>
  </div>
</template>


<script setup lang="ts">
  import Widget from './components/Widget.vue';
  const token = 'ciOi.....'
  const phone = '76177719'
</script>

<style scoped>
  @import url(/node_modules/vue-wiguet-chatweb/dist/style.css);
</style>
0.0.20

1 year ago

0.0.19

1 year ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago