UNPKG
coinplayer
Version:
latest (1.0.0)
1.0.0
Zhihu Video Player
github.com/yuwenhui/griffith
yuwenhui/griffith
coinplayer
/
example
/
inline
/
index.js
10 lines
(8 loc)
•
247 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
/* eslint-disable import/named */
import
'@babel/polyfill'
import
'raf/polyfill'
import
React
from
'react'
import
ReactDOM
from
'react-dom'
import
App
from
'./App'
const
target =
document
.
getElementById
(
'player'
)
ReactDOM
.
render
(
<
App
/>
, target)