Commit e9cd2e7
feat: add web-preview component and related test cases, example, and doc (#28)
* feat: add WebPreview component and related subcomponents for enhanced web preview functionality
* refactor: update props definition to use TypeScript interface for improved type safety
* feat: integrate Vitest for testing and add web preview tests
- Added Vitest configuration for testing with Playwright support.
- Implemented test cases for WebPreview
- Enhanced TypeScript configuration for JSX support.
* feat: add web preview example component with navigation and console logs
* feat: add WebPreview documentation and installation instructions
* feat: convert WebPreview component to Vue 3 and update backend route handling
* feat: add GitHub Actions workflow for testing with Node.js
* refactor: enhanced WebPreview loading slot functionality
* feat: add script to generate .code-group.md files for components
* chore: resolved conflicts and move web-preview into vibe-coding folder
* chore: install Playwright 1.56.1 dependencie
* ci: make test github action work
* chore: update Vitest configuration with path aliases for improved module resolution
* chore: update Vitest configuration to use shadcn-vue path aliases
* chore: removed irrelevant script code
* chore: update WebPreviewUrl component Input class
* chore(docs): update code blocks in web-preview.md for clarity
---------
Co-authored-by: Charlie Wang <18888351756@163.com>
Co-authored-by: Emmanuel Raymond <peoray@yahoo.com>1 parent 0fff7f0 commit e9cd2e7
File tree
22 files changed
+1794
-85
lines changed- .github/workflows
- apps/www
- content/3.components/3.vibe-coding
- plugins
- packages
- elements
- __tests__
- src
- web-preview
- examples/src
22 files changed
+1794
-85
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
0 commit comments