Skip to content

Commit d4f0f9d

Browse files
committed
change demo.html to web-component-demo.html
1 parent c1be60b commit d4f0f9d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ document.querySelector('access-qa-bot').addEventListener('qabot-close', () => {
143143

144144
- **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.
145145

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.
147147

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.
149149

150150
## Development and Testing
151151

@@ -158,7 +158,7 @@ npm start
158158
```
159159

160160
### 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:
162162

163163
1. Stop the development server (if running)
164164
2. Build the project (`npm run build`)
@@ -171,7 +171,7 @@ npx serve
171171

172172
Then you can access:
173173
- 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`
175175

176176
This allows testing both integration approaches (React components and Web Components) in their respective demo environments.
177177

File renamed without changes.

0 commit comments

Comments
 (0)