@mobil80-dev/chatbot-widget 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,9 +11,14 @@ VaultChat is a lightweight JavaScript chat widget that can be embedded into any
|
|
|
11
11
|
- No dependencies
|
|
12
12
|
- Easy setup
|
|
13
13
|
|
|
14
|
+
## 📦 Installation
|
|
15
|
+
``` bash
|
|
16
|
+
npm install @mobil80-dev/chatbot-widget
|
|
17
|
+
```
|
|
18
|
+
|
|
14
19
|
## 🌐 HTML / CSS
|
|
15
20
|
### 🚀 Usage
|
|
16
|
-
```
|
|
21
|
+
```
|
|
17
22
|
<script type="module">
|
|
18
23
|
import VaultChat from 'https://unpkg.com/@mobil80-dev/chatbot-widget/dist/index.js'
|
|
19
24
|
|
|
@@ -25,11 +30,8 @@ VaultChat is a lightweight JavaScript chat widget that can be embedded into any
|
|
|
25
30
|
```
|
|
26
31
|
|
|
27
32
|
## 🧩 Vue
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
npm install @mobil80-dev/chatbot-widget
|
|
31
|
-
|
|
32
|
-
🚀 Usage (Vue 3)
|
|
33
|
+
## 🚀 Usage (Vue 3)
|
|
34
|
+
```
|
|
33
35
|
import { onMounted } from 'vue'
|
|
34
36
|
import VaultChat from '@mobil80-dev/chatbot-widget'
|
|
35
37
|
|
|
@@ -41,13 +43,9 @@ onMounted(() => {
|
|
|
41
43
|
})
|
|
42
44
|
```
|
|
43
45
|
## ⚛️ React
|
|
44
|
-
### 📦 Installation
|
|
45
|
-
``` bash
|
|
46
|
-
npm install @mobil80-dev/chatbot-widget
|
|
47
|
-
```
|
|
48
46
|
|
|
49
|
-
|
|
50
|
-
```
|
|
47
|
+
### 🚀 Usage
|
|
48
|
+
```
|
|
51
49
|
import { useEffect } from 'react'
|
|
52
50
|
import VaultChat from '@mobil80-dev/chatbot-widget'
|
|
53
51
|
|
|
@@ -60,13 +58,9 @@ useEffect(() => {
|
|
|
60
58
|
```
|
|
61
59
|
|
|
62
60
|
## 🅰️ Angular
|
|
63
|
-
### 📦 Installation
|
|
64
|
-
``` bash
|
|
65
|
-
npm install @mobil80-dev/chatbot-widget
|
|
66
|
-
```
|
|
67
61
|
|
|
68
|
-
|
|
69
|
-
```
|
|
62
|
+
### 🚀 Usage
|
|
63
|
+
```
|
|
70
64
|
import VaultChat from '@mobil80-dev/chatbot-widget'
|
|
71
65
|
|
|
72
66
|
VaultChat.init({
|