feat: publicize doc implemetation
This commit is contained in:
59
one/docs/demo/select/size.vue
Normal file
59
one/docs/demo/select/size.vue
Normal file
@@ -0,0 +1,59 @@
|
||||
<template>
|
||||
<article>
|
||||
<veui-select
|
||||
v-model="license"
|
||||
ui="l"
|
||||
:options="options"
|
||||
/>
|
||||
<veui-select
|
||||
v-model="license"
|
||||
:options="options"
|
||||
/>
|
||||
<veui-select
|
||||
v-model="license"
|
||||
ui="s"
|
||||
:options="options"
|
||||
/>
|
||||
<veui-select
|
||||
v-model="license"
|
||||
ui="xs"
|
||||
:options="options"
|
||||
/>
|
||||
</article>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Select } from 'veui'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
'veui-select': Select
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
license: null,
|
||||
options: [
|
||||
{
|
||||
label: 'MIT',
|
||||
value: 'mit'
|
||||
},
|
||||
{
|
||||
label: 'BSD',
|
||||
value: 'bsd'
|
||||
},
|
||||
{
|
||||
label: 'Apache 2.0',
|
||||
value: 'apache2'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped docs>
|
||||
.veui-select {
|
||||
max-width: 120px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user