vuejs helloworld

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>jquery实现点击链接弹出层效果</title>

<script src="https://unpkg.com/vue/dist/vue.js"></script>
 
 
<script type="text/javascript">

var app = new Vue({
  el: '#app',
  data: {
    message: 'Hello Vue!'
  }
})

</script>


</head>

<body>


 <div id="app">
  {{ message }}
</div>

</body>



</html>

 

posted on 2017-03-21 17:18  rojas  阅读(94)  评论(0编辑  收藏  举报