2021年7月7日

692 vuex:store,Vue devtool,单一状态树,组件获取状态,mapState,getters,mapGetters,mutation及常量,mapMutations,actions,mapActions,module、局部状态、命名空间、修改或派发根组件、createNamespacedHelpers

摘要: 什么是状态管理 复杂的状态管理 Vuex的状态管理 Vuex的状态管理 Vuex的安装 创建Store 组件中使用store Vue devtool 手动安装devtool 单一状态树 组件获取状态 在setup中使用mapState getters的基本使用 getters第二个参数 getter 阅读全文

posted @ 2021-07-07 13:30 冲啊! 阅读(340) 评论(0) 推荐(0)

691 VueRouter4:URL的hash,H5的History,路由使用步骤,router-link,路由懒加载,动态路由,pathMatch,嵌套路由,编程式导航,query参数,router-link、router-view的v-slot,动态添加、删除路由,导航守卫,historyApiFallback

摘要: 认识前端路由 后端路由阶段 前后端分离阶段 URL的hash hash-demo.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" conten 阅读全文

posted @ 2021-07-07 10:12 冲啊! 阅读(881) 评论(0) 推荐(0)

导航