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.
145
145
146
-
-**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.
147
147
148
-
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.
149
149
150
150
## Development and Testing
151
151
@@ -158,7 +158,7 @@ npm start
158
158
```
159
159
160
160
### Testing Standalone Demo Files
161
-
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:
162
162
163
163
1. Stop the development server (if running)
164
164
2. Build the project (`npm run build`)
@@ -171,7 +171,7 @@ npx serve
171
171
172
172
Then you can access:
173
173
- The React demo at `/index.html` (or just `/`)
174
-
- The Web Component demo at `/demo.html`
174
+
- The Web Component demo at `/web-component-demo.html`
175
175
176
176
This allows testing both integration approaches (React components and Web Components) in their respective demo environments.
0 commit comments