02-Vue Hello-2
来源:互联网 发布:linux自动分区脚本 编辑:程序博客网 时间:2024/05/16 07:21
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Vue Hello-2</title>
</head>
<body>
<!--这是View -->
<div id="app">
<p>{{message}}</p>
<input type="text" v-model="message">
</div>
</body>
<script type="text/javascript" src="../js/vue.js"></script>
<script type="text/javascript">
//模型数据Model
var exeData = {
message : "Hello World"
};
//创建View实例或ViewModel
//他是连接View与Model的
new Vue({
el : "#app",
data : exeData
})
</script>
</html>
<html>
<head>
<meta charset="UTF-8">
<title>Vue Hello-2</title>
</head>
<body>
<!--这是View -->
<div id="app">
<p>{{message}}</p>
<input type="text" v-model="message">
</div>
</body>
<script type="text/javascript" src="../js/vue.js"></script>
<script type="text/javascript">
//模型数据Model
var exeData = {
message : "Hello World"
};
//创建View实例或ViewModel
//他是连接View与Model的
new Vue({
el : "#app",
data : exeData
})
</script>
</html>
阅读全文
0 0
- 02-Vue Hello-2
- hello vue!
- 1、Hello Vue.js
- 第一个Hello Vue!
- 01-Hello Vue.js
- vue-hello-world
- vue 第一个hello world
- Vue 2.0 的 hello world
- vue.js初级入门,hello world
- vue.js初级入门,hello world
- Vue基本使用一-hello world
- Vue-02
- vue(2)
- vue(2)
- Vue.js源码(1):Hello World的背后
- 使用VUE在Django中打印“Hello World”
- 《Hello Vue.js之道阻且长》
- Vue入门02-vue实现ToDoList
- 两个Oracle数据库之间表数据的对比
- TCP连接三次握手
- 机器学习算法小整理之决策树
- 201609-2火车购票
- kotlin零基础入门(一)
- 02-Vue Hello-2
- 查找算法1
- nodejs npm 错误 Error: UNKNOWN: unknown error, mkdir 'D:\Develop\nodejs\node_global' at Error <native>
- jQuery-在网站上注册新账号时,“同意并接受”效果的实现
- 应用层-6、FTP
- 嵌入式多任务OS中Vxworks和linux的一些区别
- C++学习笔记---类的朋友
- 每天学一点
- Linux时间的cst和edt的区别