@2uinc/frontend-component-xpert-chatbot 1.1.0 → 1.1.2
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 +13 -6
- package/dist/lib/index.min.js +601 -566
- package/package.json +10 -2
package/README.md
CHANGED
@@ -33,17 +33,21 @@ This project was created with the following:
|
|
33
33
|
See `package.json` for more info.
|
34
34
|
|
35
35
|
## To view component library demo and develop (entry point `src/demo.jsx`):
|
36
|
-
1.
|
36
|
+
1. Switch the the correct version of node (install nvm if necessary):
|
37
|
+
```
|
38
|
+
nvm use
|
39
|
+
```
|
40
|
+
2. Install dependencies:
|
37
41
|
```
|
38
42
|
npm i
|
39
43
|
```
|
40
|
-
|
44
|
+
3. Start app:
|
41
45
|
```
|
42
46
|
npm start
|
43
47
|
```
|
44
|
-
|
45
|
-
|
46
|
-
|
48
|
+
4. Go to `http://localhost:5173/`
|
49
|
+
5. Verify all chatbot ux and functionality work as expected since changes can affect them all
|
50
|
+
6. Write automated tests to avoid too much manual verification and to make sure existing functionality isn't broken.
|
47
51
|
|
48
52
|
`
|
49
53
|
<add picture here>
|
@@ -91,7 +95,10 @@ To install the package, run the following command:
|
|
91
95
|
$ npm install @2uinc/frontend-component-xpert-chatbot
|
92
96
|
```
|
93
97
|
|
94
|
-
|
98
|
+
### CDN
|
99
|
+
|
100
|
+
A CDN deployment occurs after the NPM deployment for clients that don't have React. See `publishCmd` in package.json.
|
101
|
+
|
95
102
|
```
|
96
103
|
<head>
|
97
104
|
<link rel="stylesheet href="https://chatbot-frontend.prod.ai.2u.com/@latest/index.css.js" />
|