摘要: pinia就是vuex5 1.安装引入 npm install pinia 2.引入与使用 store.js //1.定义容器 import { defineStore } from 'pinia' //参数1:容器的ID,必须唯一,将来Pinia会把所有的容器挂载到根容器 export const 阅读全文
posted @ 2022-02-13 23:40 成强 阅读(2772) 评论(0) 推荐(1) 编辑