亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Vue.js basic tutorial (official manual)

Read(58533) update time(2022-04-15)

Welcome friends to join the ranks of basic learning of Vue.js. Vue is a progressive framework for building user interfaces. "Vue.js Basic Tutorial" can give learners a general understanding of Vue.js.


Vue.js (pronounced /vju?/, similar to view) is a progressive framework for building user interfaces.

Vue only focuses on the view layer and adopts a bottom-up incremental development design.

The goal of Vue is to implement responsive data binding and composed view components through the simplest possible API.

Vue is very easy to learn. This tutorial is based on Vue 2.1.8 version test.

What you need to know before reading this tutorial:

This tutorial mainly introduces Vue2.x version usage.

First example

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Vue 測試實(shí)例</title>
<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
</head>
<body>
<div id="app">
  <p>{{ message }}</p>
</div>

<script>
new Vue({
  el: '#app',
  data: {
    message: 'Hello Vue.js!'
  }
})
</script>
</body>
</html>

Reference:

Webpack Getting Started Tutorial: https://www.php. cn/js-tutorial-430652.html

Official documentation: http://vuejs.org/v2/guide/syntax.html

Chinese documentation: https://www.php. cn/js/js-vuejs-syntax.html