Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-wiguet-chatweb

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-wiguet-chatweb

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

  • 0.0.12
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by75%
Maintainers
2
Weekly downloads
 
Created
Source

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>

Keywords

FAQs

Package last updated on 24 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc