<!DOCTYPE html>标签:el,vue,const,name,Title,js,address,019 From: https://blog.51cto.com/u_15356972/6085198
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
<div id="root">
<h2>{{name}}</h2>
<h2>{{address}}</h2>
</div>
<script type="text/javascript">
const vm = new Vue({
el:'#root',
data :{
name:'虾米大王',
address:'甘肃'
}
});
</script>
</body>
</html>