UNPKG
vue-danmaku
Version:
latest (2.0.0-beta.13)
2.0.0-beta.13
2.0.0-beta.12
2.0.0-beta.11
2.0.0-beta.10
2.0.0-beta.9
2.0.0-beta.8
2.0.0-beta.7
2.0.0-beta.6
2.0.0-beta.5
2.0.0-beta.4
2.0.0-beta.3
2.0.0-beta.2
2.0.0-beta.1
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.7.0-beta.1
1.6.0
1.6.0-beta.1
1.5.0
1.4.3
1.4.2
1.4.2-beta.1
1.4.1
1.4.0
1.3.3-beta.2
1.3.3-beta.1
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.1
1.1.0
1.0.5
1.0.3
1.0.3-beta.1
1.0.3-beta.0
1.0.2
0.3.6
0.3.4
0.3.3
0.3.1
0.3.0
0.2.0
0.1.1
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
基于 Vue 的弹幕交互组件 | A danmaku component for Vue
github.com/hellodigua/vue-danmaku
vue-danmaku
/
src
/
main.ts
15 lines
(10 loc)
•
193 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
{ createApp }
from
'vue'
import
Demo
from
'./Demo.vue'
const
app =
createApp
(
Demo
) app.
mount
(
'#app'
)
window
.
app
= app
declare
global
{
interface
Window
{
app
:
typeof
app } }