November 2019
Beginner
804 pages
20h 1m
English
Let's complete a quick practical exercise with Vue. This will give you an idea of how easy it is to get started:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello Vue!</title>
<!-- development version of Vue.js -->
<script src="https://cdn.jsdelivr.net/ npm/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
{{ message }}
</div>
<script type="text/javascript">
var app = new Vue({
el: '#app',
data: {
message: 'Hello world!'
}
});
</script>
</body>
</html>
You have just written your first Vue application! Yes, it really is that simple.
Read now
Unlock full access