UNPKG
vue3-interact
Version:
latest (1.0.0)
1.0.0
A Vue3.0 component based of interactjs
github.com/Darma1106/vue-3-interact
Darma1106/vue-3-interact
vue3-interact
/
index.ts
9 lines
(6 loc)
•
246 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
type
{
App
}
from
"vue"
;
import
Interact
from
"./Interact.vue"
;
import
{
BoxState
}
from
"./ts/init"
;
Interact
.
install
=
(
Vue
:
App
) =>
Vue
.
component
(
Interact
.
name
?
Interact
.
name
:
"Interact"
,
Interact
);
export
{
Interact
,
BoxState
};