feat: add React and Vue examples with Artplayer integration

- Implemented a React template with Vite, including ESLint configuration and necessary dependencies.
- Created a Vue template with Vite, including setup for Artplayer and plugins.
- Added internationalization support in both React and Vue examples.
- Included sample video and Danmuku plugin integration in both frameworks.
- Established project structure with appropriate configuration files and README documentation.
This commit is contained in:
Harvey Zhao committed 2026-01-03 14:08:31 +08:00
1 parent 62b4be9d82
commit fa2c69e83d
73 files changed
+129 -124

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
{
"name": "artplayer-vue",
"type": "module",
"version": "0.0.0",
"private": true,
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"artplayer": "^5.3.0-beta.4",
"artplayer-plugin-danmuku": "^5.2.0",
"artplayer-plugin-document-pip": "^1.0.2",
"vue": "^3.5.21"
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.1",
"vite": "^7.1.4",
"vite-plugin-vue-devtools": "^8.0.1"
}
}