Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (43 sloc) 967 Bytes
<!DOCTYPE html>
<meta charset="utf-8">
<title>Vue TEST</title>
<script src=""></script>
.frame {
border-style: solid;
padding: 10px;
margin: 10px;
<div id="app1" class="frame">
<button name="myBtn" v-on:Click="h1title='イベントの学習';message='on click'">click</button>
<button name="myMethodBtn" v-on:Click="modTiitle">mod title</button>
<div><input type="text" name="message" v-model="message"></div>
var app1 = new Vue({
el: '#app1',
data: {
h1title: 'Vue.jsの学習',
message: 'no event'
methods: {
modTiitle: function(){
this.h1title = "execute method"
this.message = "reset"
messageLength: function(){
return this.message.length
You can’t perform that action at this time.