-
Notifications
You must be signed in to change notification settings - Fork 71
feat: add web-preview component and related test cases, example, and doc #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@zhouLion is this ready or still a draft? |
|
|
@zhouLion, sorry for the merge conflicts. If you run into any issues, let me know :) |
… web preview functionality
…roved type safety
- Added Vitest configuration for testing with Playwright support. - Implemented test cases for WebPreview - Enhanced TypeScript configuration for JSX support.
95b1773 to
bf216fe
Compare
The main branch has been rebased and code conflicts resolved. It's ready for review. |
…doc (vuepont#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 <[email protected]> Co-authored-by: Emmanuel Raymond <[email protected]>
Maybe the Vitest integration can be split into separate PRs, but how about let's start from here.