mirror of
https://github.com/zoriya/v10.git
synced 2026-08-13 01:19:44 +00:00
feat: migrate examples from prototype and add CSS modules support
- Migrate HTML and React demo applications from prototype to examples/ directory - Add examples to workspace configuration with selective build support - Update workspace scripts for library-only builds (build:libs) and example dev servers - Fix React MediaProvider context conflicts by consolidating exports - Add esbuild-css-modules-plugin for CSS modules support in React package - Configure tsup for flattened output structure with CSS processing - Update package exports and imports for new @vjs-10/* scoped packages 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
7403cc7281
commit
19c85fc2f8
@@ -0,0 +1,11 @@
|
||||
import { defineVjsPlayer } from '@vjs-10/html';
|
||||
|
||||
defineVjsPlayer();
|
||||
|
||||
document.body.innerHTML = `
|
||||
<media-provider>
|
||||
<media-skin-default>
|
||||
<video slot="media" src="https://www.w3schools.com/html/mov_bbb.mp4" muted></video>
|
||||
</media-skin-default>
|
||||
</media-provider>
|
||||
`;
|
||||
Reference in New Issue
Block a user