mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 18:33:33 +09:00
first
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
---
|
||||
state:
|
||||
input: ''
|
||||
---
|
||||
|
||||
### VInput
|
||||
|
||||
Vuero provides elegant form controls with minimum styling.
|
||||
`VInput` accept all attributes that `<input>` accepts.
|
||||
Always wrap your inputs inside a `<VField />` and a `<VControl />`
|
||||
to build forms quickly and efficiently.
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<script setup lang="ts">
|
||||
|
||||
const input = ref('')
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VField>
|
||||
<VControl>
|
||||
<VInput
|
||||
v-model="input"
|
||||
type="text"
|
||||
placeholder="Your username"
|
||||
/>
|
||||
</VControl>
|
||||
</VField>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
|
||||
<!--example-->
|
||||
|
||||
<VField>
|
||||
<VControl>
|
||||
<VInput
|
||||
v-model="frontmatter.state.input"
|
||||
type="text"
|
||||
placeholder="Your username"
|
||||
/>
|
||||
</VControl>
|
||||
</VField>
|
||||
|
||||
<!--/example-->
|
||||
Reference in New Issue
Block a user