vue3的状态管理pinia 学习vue3之前可以去学习一下typescript Pinia是vue3状态管理库,兼容vue2,vue3比vue2的vuex更易于使用,性能更好抛弃传统的 Mutation ,只有 state, getter 和 action ,支持TypeScript