UNPKG
cc-ui-vue3
Version:
latest (0.0.15)
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
This template should help get you started developing with Vue 3 in Vite.
cc-ui-vue3
/
src
/
packages
/
CcSystemSwitch
/
index.ts
9 lines
(7 loc)
•
270 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
type
{
App
}
from
'vue'
import
CcSystemSwitch
from
'./CcSystemSwitch.vue'
// 使用install方法,在app.use挂载
CcSystemSwitch
.
install
=
(
app
:
App
) =>
{ app.
component
(
CcSystemSwitch
.
__name
as
string
,
CcSystemSwitch
) }
export
default
CcSystemSwitch