我尝试安装vuejs,并且在运行示例代码时无法获取输出 我的index.html
Reading... 0|14
1|2
2|2
3|2
4|2
Reading... 5|14
6|2
7|2
8|2
9|2
Reading... 10|15
11|3
12|3
13|3
14|3
Reading... 15|15
16|3
17|3
18|3
19|3
Reading... 20|15
21|3
22|3
23|3
24|3
Reading... 25|15
26|3
27|3
28|3
29|3
我的app.js在下面
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>vuejs</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src ="https://unpkg.com/vue"></script>
</head>
<body>
<div id="app">
<h1>{{name}}</h1>
</div>
<script src="app.js"></script>
<!-- built files will be auto injected -->
</body>
</html>
我得到如下错误。请让我知道沃兹错了
var app=new Vue({
el:'#app',
data:{
name :'hello',
}
});