Files
ClassContent/历届学生/font-end-nine/每天上课/2022-07-09/笔记.txt
2024-09-27 02:06:13 +08:00

62 lines
783 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.

原生 js + jquery
1 原生 js jquery
2 m(model 数据)v(view 视图)c(controller 控制器)
3 m(model 数据 存储的是ajax的返回数据)v(view 视图)vm(view and model)
双向数据绑定
去dom化
angular.js
react.js
vue.js 1.x ~ 2.x 过渡版本 3.x
单页(spa) web应用
单页 : 只有一个html文件,其他页面其实就是 组件,被浏览器运行的时候其实就是 js 对象
vue-router
[
{
path: '/about',
component: aaaa
}
]
www.abc.com/about
php Laravel
vue.js html 引入js
vue.js nodejs
混入
自定义指令
过滤器
组件系统
vue-router
vue-cli vue 脚手架 帮你创建vue项目,运行项目使用的
2.x
vue init webpack test
3.x