企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
### 下载Vue2.0的两个版本: 官方网站:[Vue官网](http://vuejs.org/) > 开发版本:包含完整的警告和调试模式 > 生产版本:删除了警告,进行了压缩 ### 项目结构搭建 ### 编写第一个HelloWorld代码: ~~~html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <script type="text/javascript" src="../assets/js/vue.js"></script> <title>Helloworld</title> </head> <body> <h1>Hello World</h1> <hr> <div id="app"> {{message}} </div> <script type="text/javascript"> var app=new Vue({ el:'#app', data:{ message:'hello Vue!' } }) </script> </body> </html> ~~~