用了这个一直报错这个"class" is a reserved attribute and cannot be used as component prop.想问问是什么原因呢 #447
Open
4 tasks done
Content-Length: 218742 | pFad | http://github.com/surmon-china/videojs-player/issues/447
98Fetched URL: http://github.com/surmon-china/videojs-player/issues/447
Alternative Proxies:
Describe the bug
相关代码如下,我把class删了还是一直报错 ,找不到啥原因
Reproduction
麻烦把使用方式统一下好吗?? npm上叫videojs-player, github上叫vue-video-player, 还有导入方式也不统一, 文档一点也不详细, 用的让人......
有的这样
import { VideoJsPlayer } from 'video.js'
import { VideoPlayer } from 'vue-video-player'
import 'video.js/dist/video-js.css'
文档这样:
import { VideoJsPlayer } from 'video.js'
import { VideoPlayer } from '@videojs-player/vue'
import 'video.js/dist/video-js.css'
结果报错
还有最恶心的就是文档模板代码连ctrl+v都复制不了, 一定要右键才能复制, 使用感受就是: 心累!!!!
System Info
麻烦把使用方式统一下好吗?? npm上叫videojs-player, github上叫vue-video-player, 还有导入方式也不统一, 文档一点也不详细, 需要安装video.js也不写, 用的让人......
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: