Previous Lecture Complete and continue  

  Our First Vue.js App "Hello Worlld"

Github https://github.com/ErikCH/CreateAwesomeNuxtjs

Vue Chrome Tools here.


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Hello World App</title>
    <script src="https://unpkg.com/vue"></script>
</head>
<body>
    <div id="el">
        <h1>
            {{ hello }}
        </h1>
    </div>
    <script>
        new Vue({
            el: '#el',
            data() {
                return {
                    hello: 'Hello World'
                }
            }
        });
    </script>
</body>
</html>

Discussion
5 comments