一、代码

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>初始Vue</title>
    <!--引用Vue包-->
    <script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
    <!-- 容器 -->
    <div id="test">
        <h1>Hello {{name}}</h1>
    </div>
    <script type="text/javascript">
        // 实例化Vue对象
        new Vue({
            el:"#test", 
            data:{
                name: "World"
            }
        })
    </script>
</body>
</html>

二、Vue插件

Hello World 案例_javascript

Hello World 案例_Vue_02