vue-wiguet-chatweb 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -8
- package/package.json +1 -1
package/README.md
CHANGED
@@ -10,10 +10,9 @@ npm i vue-wiguet-chatweb
|
|
10
10
|
```
|
11
11
|
## Variables de Entorno
|
12
12
|
```env
|
13
|
-
VITE_BACKEND_URL=
|
14
|
-
|
15
|
-
|
16
|
-
VITE_PASSWORD=password
|
13
|
+
VITE_BACKEND_URL=https://...
|
14
|
+
VITE_SOCKET_URI=http://...
|
15
|
+
VITE_CELLPHONE_NUMBERS=591...
|
17
16
|
```
|
18
17
|
## configuracion de variables de Entorno
|
19
18
|
```typescript
|
@@ -21,11 +20,11 @@ VITE_PASSWORD=password
|
|
21
20
|
import widgetChatCentral from 'vue-wiguet-chatweb'
|
22
21
|
|
23
22
|
const app = createApp(App);
|
23
|
+
|
24
24
|
app.use(widgetChatCentral, {
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
VITE_PASSWORD:import.meta.env.VITE_PASSWORD;
|
25
|
+
VITE_BACKEND_URL: import.meta.env.VITE_BACKEND_URL,
|
26
|
+
VITE_SOCKET_URI: import.meta.env.VITE_SOCKET_URI,
|
27
|
+
VITE_CELLPHONE_NUMBERS: import.meta.env.VITE_CELLPHONE_NUMBERS,
|
29
28
|
});
|
30
29
|
|
31
30
|
app.mount('#app');
|