Files
ClassContent/历届学生/吴欣阳/每天课程/2021-07-16/vue/笔记.txt
2024-09-27 02:06:13 +08:00

36 lines
829 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

vue:mvvm框架
m(model)v(view)vm(modelview)
model 数据 ajax 数据
view 页面
vm:数据和页面
m(model)v(view)c(controller)
model:数据(数据库)
view:页面
controller:控制器
vue
版本变化
vue 2.x
vue 3.x
语法变化:
1:option api 60%
2:class api 10%
3:commposition api 30%
1: 组件基础 https://cn.vuejs.org/v2/guide/components.html
2:prop https://cn.vuejs.org/v2/guide/components-props.html
3:插槽 https://cn.vuejs.org/v2/guide/components-slots.html
4:过渡动画 https://cn.vuejs.org/v2/guide/transitions.html
5:路由:https://router.vuejs.org/zh/guide/
6:混入:https://cn.vuejs.org/v2/guide/mixins.html
7:自定义指令 https://cn.vuejs.org/v2/guide/custom-directive.html
8:过滤器 https://cn.vuejs.org/v2/guide/filters.html