You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**build/index.html**: The minified production version of the public/index.html file after the build process has completed. This contains all the necessary script and link tags to load the compiled React application.
144
145
145
-
-**demo.html**: A standalone demo specifically showcasing the Web Component implementation (using the custom `<access-qa-bot>` element). This demonstrates three integration methods: standard floating button, embedded mode, and using the JavaScript API with the Web Component.
146
+
-**web-component-demo.html**: A standalone demo specifically showcasing the Web Component implementation (using the custom `<access-qa-bot>` element). This demonstrates three integration methods: standard floating button, embedded mode, and using the JavaScript API with the Web Component.
146
147
147
-
The **index.html** file is focused on the React component usage, while **demo.html** focuses on the Web Component usage, providing complete examples for both integration approaches.
148
+
The **index.html** file is focused on the React component usage, while **web-component-demo.html** focuses on the Web Component usage, providing complete examples for both integration approaches.
148
149
149
150
## Development and Testing
150
151
@@ -157,7 +158,7 @@ npm start
157
158
```
158
159
159
160
### Testing Standalone Demo Files
160
-
To test the standalone demo files (`index.html` and `demo.html`) at the root level, you need to:
161
+
To test the standalone demo files (`index.html` and `web-component-demo.html`) at the root level, you need to:
161
162
162
163
1. Stop the development server (if running)
163
164
2. Build the project (`npm run build`)
@@ -170,7 +171,7 @@ npx serve
170
171
171
172
Then you can access:
172
173
- The React demo at `/index.html` (or just `/`)
173
-
- The Web Component demo at `/demo.html`
174
+
- The Web Component demo at `/web-component-demo.html`
174
175
175
176
This allows testing both integration approaches (React components and Web Components) in their respective demo environments.
The version number in these URLs must match git tags in our repository. Never reuse a version number that already has a tag to avoid breaking existing CDN links.
149
149
150
150
A complete jsDelivr implementation typically requires three files:
0 commit comments