UNPKG
liquor-tree-withoutdragndrop
Version:
latest (0.2.72)
0.2.72
0.2.71
0.2.70
A Vue.js tree component.
github.com/SelectCode/liquor-tree
SelectCode/liquor-tree
liquor-tree-withoutdragndrop
/
src
/
main.js
14 lines
(9 loc)
•
252 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
TreeRoot
from
'./components/TreeRoot.vue'
const
install
=
Vue
=> {
Vue
.
component
(
TreeRoot
.
name
,
TreeRoot
) }
TreeRoot
.
install
= install
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
) {
window
.
Vue
.
use
(
TreeRoot
) }
export
default
TreeRoot