refactor: Migrate to Vue components
This commit is contained in:
		
							
								
								
									
										17
									
								
								client/js/components/anchor.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								client/js/components/anchor.vue
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
<template>
 | 
			
		||||
    <div>
 | 
			
		||||
        <p>{{ msg }}</p>
 | 
			
		||||
        <input type="text" v-model="msg" />
 | 
			
		||||
    </div>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
  export default {
 | 
			
		||||
    name: 'anchor',
 | 
			
		||||
    data () {
 | 
			
		||||
      return {
 | 
			
		||||
          msg: 'Welcome to Your Vue.js App'
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
</script>
 | 
			
		||||
		Reference in New Issue
	
	Block a user