AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
1.创建第一个Vue应用。 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>第一个Vue程序</title> <link rel="stylesheet" href="css/index.css" /> <script type="text/javascript" src="js/vue.js" ></script> </head> <body> <div id="xy"> {{title}} </div> <script type="text/javascript"> var app = new Vue({ el: "#xy", data:{ title : "hello Vue!", } }); </script> </body> </html> 运行结果: hello Vue! 2.安装使用vue-devtools调试工具用于监控数据变化 https://github.com/vuejs/vue-devtools#vue-devtools 3. 使用vue-axios拉取到后台数据插件 npm install --save axios vue-axios