vue的template

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../vue.js"></script>
</head>
<body>

  <div id="app">

    {{message}}


  </div>

<script>

  const app=new Vue({

    el  : '#app',
    data:{
        mess:'hello'
    }

  })
</script>
</body>
</html>

 

posted @ 2021-04-02 12:04  好吗,好  阅读(33)  评论(0)    收藏  举报