UNPKG
@tencentcloud/ai-desk-customer-vue
Version:
latest (1.1.0)
1.1.0
1.0.1
1.0.0
0.7.0
0.3.0
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Vue UIKit for AI Desk
@tencentcloud/ai-desk-customer-vue
/
adapter-vue.ts
11 lines
(7 loc)
•
206 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
Vue
from
'vue'
;
import
*
as
VueWeb
from
'./adapter-vue-web'
;
let
vue
:
any
;
if
(
window
&& !(
window
as
any
).
uni
) { vue = { ...
VueWeb
, ...(
VueWeb
as
any
).
vue
}; }
export
default
vue
as
typeof
Vue
;