UNPKG
@vue/ui
Version:
latest (0.12.5)
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9.2
0.9.1
0.9.0
0.8.2
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
0.6.0
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
UI components used in the vuejs organization apps
github.com/vuejs/ui
vuejs/ui
@vue/ui
/
src
/
components
/
VueIcon.js
24 lines
(20 loc)
•
327 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export
default
{
name
:
'VueIcon'
,
functional
:
true
,
props
: {
icon
: {
type
:
String
,
required
:
true
, }, },
render
(h, { props, data }) {
return
<
div
class
=
"vue-ui-icon"
{
...data
} >
<
svg
>
<
use
href
=
{
`#
ic_
${
props.icon
}
_standard
`} />
</
svg
>
</
div
>
}, }