</head>
<body>
<div id=“app”>
</div>
<!-- introduce Vue -->
<script src=“ https://cdn.jsdelivr.net/npm/vue/dist/vue.js”></script>
<script> const app = new Vue({
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset=‘utf-8’>
<title> Development of global components </title>
</head>
<body>
<div id=“app”>
</div>
<script src=“ https://cdn.jsdelivr.net/npm/vue/dist/vue.js”></script>
<script> // Develop global components
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset=‘utf-8’>
<title> Development of local components </title>
</head>
<body>
<div id=“app”>
</div>
<script src=“ https://cdn.jsdelivr.net/npm/vue/dist/vue.js”></script>
<script> // Define variables to save template configuration objects
</body>
</html>
<!DOCTYPE html>
<html lang=“en” xmlns:v-on=“ http://www.w3.org/1999/xhtml”>
<head>
<meta charset=“UTF-8”>
<title> Development of local components 2</title>
</head>
<body>
<div id=“app”>
</div>
<!– Declare local component templates template label Be careful : stay Vue Instance out of scope declaration –>
<template id=“loginTemplate”>
</template>
<script src=“ https://cdn.jsdelivr.net/npm/vue/dist/vue.js”></script>
<script> // Define variables to save template configuration objects
</body>
</html>
<!DOCTYPE html>
<html lang=“en” xmlns:v-on=“ http://www.w3.org/1999/xhtml”>
<head>
<meta charset=“UTF-8”>
<title> Use... In local components props Receive static data </title>
</head>
<body>
<div id=“app”>
</div>
<script src=“ https://cdn.jsdelivr.net/npm/vue/dist/vue.js”></script>
<script> // Declare a component template configuration object
</body>
</html>
<!DOCTYPE html>
<html lang=“en” xmlns:v-on=“ http://www.w3.org/1999/xhtml”>
<head>
<meta charset=“UTF-8”>
<title> Use... In local components prop Receive dynamic data </title>
</head>
<body>
<div id=“app”>
</div>
<script src=“ https://cdn.jsdelivr.net/npm/vue/dist/vue.js”></script>
<script> const login = {
</body>
</html>