-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
thorvg.web
provides a web component that can be used across different frontend frameworks (React, Vue, Svelte, etc.) via NPM/CDN. While the library doesn't officially support specific frameworks, it's designed to work universally as a web component.
However, framework compatibility testing is done manually for important changes. Need an automated testing pipeline that validates thorvg.web
functionality across major frontend frameworks.
- React
- Vue
- Svelte
Solution
- Extended Examples Structure
examples/
├── default/ # Vanilla JS with CDN
│ ├── index.html
│ └── benchmark.html
├── react/ # React 18+ with Vite
│ ├── package.json
│ ├── vite.config.ts
│ ├── index.html
├── vue/ # Vue 3+ with Vite
│ ├── package.json
│ ├── vite.config.ts
│ ├── index.html
├── svelte/ # Svelte 4+ with Vite
│ ├── package.json
│ ├── vite.config.ts
│ ├── index.html
- Framework-Specific Package Configurations
- Build Validation Scripts
- CI/CD Integration (like
cross-framework-test.yml
)
lerrybe