老师这是怎么回事
来源:1-3 初学编写 HelloWorld 和 Counter

豆包侠
2022-09-08
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="https://unpkg.com/vue@next"></script>
</head>
<body>
<div id="root">
</div>
</body>
<script>
Vue.createApp({
data(){
return {
content:1
}
},
template:'<div>hello world</div>'
}).mount('#root') //这里的#号的意思是在div为root上使用
</script>
</html>
老师:这里并没有像视频中出现1 控制台出现了提示版本的问题
You are running a development build of Vue. Make sure to use the production build (*.prod.js) when deploying for production.
1回答
-
豆包侠
提问者
2022-09-08
是我没改下面的 已经发现自己的错误了 不好意思老师
012022-09-12
相似问题
回答 1
回答 1