Vue.js的实战技能,以需求为导向,兼顾各个知识点。
-> 前往星空笔记
Vue.js实战笔记
5 years ago by lemooljiang (73)
$1.15
- Past Payouts $1.15
- - Author $0.58
- - Curators $0.56
42 votes
- + rivalhw: $0.331 (100%)
- + deanliu: $0.288 (100%)
- + lemooljiang: $0.144 (100%)
- + ace108: $0.129 (25%)
- + project.hope: $0.060 (2.5%)
- + itchyfeetdonica: $0.033 (30%)
- + catwomanteresa: $0.029 (50%)
- + ew-and-patterns: $0.024 (4%)
- + laodr: $0.016 (100%)
- + htliao: $0.012 (35%)
- + angelina6688: $0.009 (100%)
- + nostalgic1212: $0.009 (30%)
- + tvb: $0.007 (50%)
- + yellowbird: $0.007 (100%)
- + dapeng: $0.007 (100%)
- + bring: $0.006 (100%)
- + crypto.piotr: $0.005 (5%)
- + sasaadrian: $0.004 (20%)
- + elizacheng: $0.003 (9%)
- + coindzs: $0.003 (100%)
- … and 22 more
主站
Vue Cli
vue api
Vue详细手记
BootstrapVue
mpvue(小程序)
项目布署 |
网站图标svg
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Vue Cli
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
手册
参考
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
直接在子组件中使用 this.$parent 即可获取父组件对象。
这种方法比较简单,但是不太直观,建议使用上一种方法。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
主要是通过 $refs 获取子组件对象
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
常见的文本格式化,只能用在插值表达式和v-bind表达式中。实质是对数据进行处理,执行了函数。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
对于常用的重复使用的代码,可以把它写成公共方法,然后在全局使用即可。
主要有两步:
1.utils -> 定义方法或变量,export
2.main.js中导入并挂载到全局。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
这也是调用子组件的方法
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
参考
参考2
可以动态更新data中的数据显示,也就是操作data的方法
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
它会自动判断是不是手机端,如果是,则使用以下样式!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
刷新页面的问题
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit