pinia icon indicating copy to clipboard operation
pinia copied to clipboard

🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support

Results 60 pinia issues
Sort by recently updated
recently updated
newest added

closes https://github.com/vuejs/pinia/issues/1394

Hi inspired by redux devtools and also this issue: https://github.com/vuejs/pinia/issues/859 I've decided to add more debug information to pinia devtools about the status of the state before and after given...

Scope: Pinia's Nuxt module This change adds the `autoImportDir` to the Nuxt module, to automatically import a user's "/stores" directory if it exists. This is a feature to help people...

discussion
⛰ pkg:nuxt

### Reproduction https://stackblitz.com/edit/github-xe2cxw?file=src%2Fstores%2Fcounter.test.ts ### Steps to reproduce the bug Given the following code: ```typescript import { defineStore } from 'pinia'; import { createTestingPinia } from '@pinia/testing'; const useStore = defineStore('lol',...

✨ enhancement
has workaround
🧪 pkg:testing

when use `export default myPlugin`, it got a nuxt3 warning following ```bash [warn] [nuxt] You are using a plugin that has not been wrapped in `defineNuxtPlugin`. It is advised to...

📚 docs
⛰ pkg:nuxt

### What problem is this solving I'm trying to use pinia in a microfrontends architecture, and we are planing to use importmaps to solve duplication of bundling dependencies. So we're...

feature request

### Reproduction https://play.pinia.vuejs.org/#eNqlV9ty2zYQ/RVUD5Xk2GSstJmpTDlOO0nGfUgysdI8RJmaIkEJNgVwAFC2R9W/9yxA0qTkOm7rF4GLvZy9Yr3pvS6KYF3y3rgXmUSLwjLDbVmwPJaLyaxnzax3OpNiVSht2YYZqzSfqk88M2zLMq1WrF8IKeL+SYurNPyCGBuWIExUKS3XgTX9mZzJMGTTpTBszbURSrJUccOkskzzLOeJZXbJWZzYMs6ZvStwqTK6M6Q7ZUI6BocmqLTFtm/YzfKOTS+YWaobw2LJuNZKMxjIheTsF/AmSho4SZLHbNJAHQzrqw2TYyaPgX3SdnfgRYbw0/Npjki9Jx3yOHAfuHrYsx86ZkePmB09bHY0ZDFcl9dS3Ug6nsuM6w9aLISMc/BNKUYRRQpx8iKnO0jJrBw1SKPQ5xvZxYflqyKPLccXY1HhfhgcG/tD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WEBweO8YB9WXKJ4Yq3gpmCJ2Jvb8XK+pFi7SEajMIlF5qYIOPcgBbSr3laJthxrWIxPhYlrLJLlMVl4DfLJc9R4b4QEuy4c+6XYqsqLXDRrceqquDaCGEhOuHBJky8lcTBwWcTL/i4cefy8hK7jT/7Ls6Uqh8OWHtbfdV9Ucth+32DxHPtF7ddYfd/Q3e/ra9qRfcSYGzLBUT63upbC5x+7ePY/7aH7sMOso2ztLt0N6D+zdrd2K49QRD9KaSf+4baU7DTQE1jDXwVPqELv+IBB7n/zUv8+DSZqhe8FCWAxs72bwrIxQM= ### Steps to reproduce the bug Use `storeToRefs` on a setup store, containing special kinds of refs (see reproduction). The typings of the returned refs will be...

bug
contribution welcome
typescript

### Reproduction https://github.com/antoinezanardi/nuxt-pinia-testing ### Steps to reproduce the bug 1. Clone the reproduction repository. 2. Run `pnpm install` 3. Run `vitest --config vitest.unit-config.ts` ### Expected behavior The test should pass...

bug
contribution welcome
🧪 pkg:testing
⛰ pkg:nuxt

Correct some ambiguities according to the English documentation.

`packages/docs/zh/core-concepts/index.md` 更新翻译同步英文文档现版本,个人经验不足,72行需要一些review Update the docs/zh translation to latest. May need review at line 72 due to my experience. `packages/docs/core-concepts/index.md` In the process of translating I found a bug, the line...