32 lines
		
	
	
		
			399 B
		
	
	
	
		
			Vue
		
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			399 B
		
	
	
	
		
			Vue
		
	
	
| <docs>
 | |
| ---
 | |
| order: 0
 | |
| title:
 | |
|   zh-CN: åēæŦ፿ŗ
 | |
|   en-US: Basic usage
 | |
| ---
 | |
| 
 | |
| ## zh-CN
 | |
| 
 | |
| æįŽåį፿ŗã
 | |
| 
 | |
| ## en-US
 | |
| 
 | |
| The simplest usage.
 | |
| 
 | |
| </docs>
 | |
| <template>
 | |
|   <a-rate v-model:value="value" />
 | |
| </template>
 | |
| <script lang="ts">
 | |
| import { defineComponent, ref } from 'vue';
 | |
| export default defineComponent({
 | |
|   setup() {
 | |
|     const value = ref<number>(2);
 | |
|     return {
 | |
|       value,
 | |
|     };
 | |
|   },
 | |
| });
 | |
| </script>
 |