![](https://img-blog.csdnimg.cn/15ca1770192b4babb41a0db907352ea0.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
Pinia
文章平均质量分 63
vue3官方推荐的轻量状态管理器
Unique·Blue
锄头抡冒烟的码农一枚
展开
-
Pinia 状态持久化插件——pinia-plugin-persistedstate
vue3+pinia项目中,实现pinia的状态持久化,保证页面刷新 store 中的数据不丢失原创 2023-10-12 16:33:10 · 2070 阅读 · 2 评论 -
Pinia 映射辅助函数(mapStores()、mapState() 、mapWritableState()、mapActions())
前提是使用选项式APIPinia 映射辅助函数(mapStores()、mapState() 、mapWritableState()、mapActions())原创 2023-05-17 15:28:59 · 3359 阅读 · 1 评论 -
Pinia 上手使用(store、state、getters、actions)
Pinia中 store、state、getters、actions的使用方式原创 2023-05-17 11:20:43 · 1176 阅读 · 0 评论 -
初识 Pinia,对比 vuex
Pinia是vue3官方推荐的状态管理器原创 2023-05-16 18:28:42 · 603 阅读 · 0 评论