-
taro-plugin-pinia
安装安装 yarn add pinia
# or with npm
npm install pinia 安装 yarn add taro-plugin-pinia
# or with npm
npm install taro-plugin-pinia 配置项目配置文件 // ...
plugins: [
'taro-plugin-pinia'
]
// ... 使用引入 // src/app.js
// ...
import { createPinia } from 'pinia'
App.use(createPinia()) |
Beta Was this translation helpful? Give feedback.
Answered by
keyding
Nov 30, 2021
Replies: 2 comments
Answer selected by
Chen-jj
-
小程序打包后 $subscribe mutation events 为 undefined |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Github: https://github.com/keyding/taro-plugin-pinia