【文件属性】:
文件名称:hellovue:vue学习
文件大小:458KB
文件格式:ZIP
更新时间:2021-02-10 00:19:55
JavaScript
代码说明
0.简介
本代码示例适用于vue2.0
官网: :
官网教程: :
官网API: :
1.入门
1.1。入门,数据和变量,生命周期:
1.2。插值与表达式:
1.3。过滤器:
1.4。事件,指令,语法糖:
2.计算属性
2.1。简单示例:
2.2。计算属性的用法:
2.3。计算属性的缓存:
3.绑定样式
3.1。绑定样式:
4.内置指令
4.1。基本指令与条件渲染指令:
4.2。列表渲染指令v-for与操作:
4.3。方法与事件,修饰符:
4.4。实战:购物车:
5.表单与v-model
5.1。表单:
6.组件详解
6.1。组件基本用法:
6.2。使用props传递数据:
6.3。子组件向父组件传递数据:
6.4。任意组件的通信(非父子组件):
6.5。使用插槽(插槽)发行内容:
props传递数据,事件,
【文件预览】:
hellovue-master
----index.html(3KB)
----vue.min.js(91KB)
----instance.html(2KB)
----chapter03()
--------bindclass.html(3KB)
----template.html(3KB)
----chapter05()
--------form.html(5KB)
----vue.js(334KB)
----empty.html(355B)
----chapter01()
--------helloword.html(1006B)
--------expression.html(2KB)
--------filter.html(3KB)
--------event.html(2KB)
----chapter09()
--------vuecom()
--------demo()
--------vuecom2()
----chapter04()
--------for.html(4KB)
--------cart()
--------base-if.html(3KB)
--------event.html(3KB)
----chapter06()
--------any.html(2KB)
--------other.html(3KB)
--------props.html(4KB)
--------numbercom()
--------child2parent.html(3KB)
--------base.html(2KB)
--------slot.html(4KB)
--------advanced.html(2KB)
----README.md(6KB)
----chapter10()
--------vuer()
----chapter02()
--------cache.html(947B)
--------useage.html(4KB)
--------simple.html(739B)
----chapter07()
--------base.html(3KB)
----.gitignore(6KB)
----chapter08()
--------anchor.html(1KB)
--------createElement.html(2KB)
----package-lock.json(12KB)
----compute.html(63KB)