0
這是我的代碼,我似乎已經做了一切正確。 作爲輸出可能是什麼問題只{{消息}}Vue不能在一個簡單的例子
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div id="app">
<h1>{{message}}</h1>
</div>
<script src="https://vuejs.org/js/vue.js"/>
<script>
new Vue({
el: '#app',
data:{
message: "Yow"
},
mounted: function() {
console.log("Mounted")
}
});
</script>
</body>
</html>
,它只是輸出{{消息}}
只有你正在運行的唯一的發展模式VUE –