Hello, I know that a store is useful to share data between several components. I have tried to use Pinia and it seems to be faster than when I call the API for example directly from a component when the component is loading. How is it possible to explain this behavior ? Furthermore is...
isDev) { useCookie('sso-auth').value = null } }, }, }) Describe the bug I'm trying to set authentication token from cookies to pinia in the plugin, but getting error: "Cannot use 'in' operator to search for 'catch' in undefined" Additional context No response Logs TypeError: ...
Hello, when using vee-validate in combination with pinia-plugin-persistedstate, I encounter an issue where the .$state cannot be passed to vee-validate's resetForm method when the store is enabled for persistence. This results in a RangeError: Maximum call stack size exceeded error from vee-va...
只要改成query 传参就好了,query传参的话,既可以写 path ,也可以是 name ,并且所有参数都会显示在URL 地址上。 import{ useRouter }from'vue-router'constrouter = useRouter()constquery = { id:'1', name:'ly', phone:13246566476, age:23}consttoDetail = () => router.push({ path:'/detail',...
'pinia', 'echarts', '@vueuse/core' ] } } } Loading... 跳转 举报 举报成功 我们将于2个工作日内通过站内信反馈结果给你! 请认真填写举报原因,尽可能描述详细。 举报类型 请选择举报类型 举报原因 取消 发送 误判申诉 此处可能存在不合适展示的内容,页面不予展示。您可通过相关编...
The same problem also appears with Pinia. Maybe is a package conflict? Currently, I am using// @ts-ignoreto ignore the error. Package version: vue-i18n: 9 typescript: ~5.6.3 vue: ^3.5.12 Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment...
Describe the feature Right now I want to use withAllRecursive but it's incredibly slow and I believe that's because it loads relationships recursively both up and down.. meaning that it loads all relations including belongsTo and hasMany...
😎 Deploy Preview https://deploy-preview-2841--pinia-playground.netlify.app 📱 Preview on mobile Toggle QR Code... Use your smartphone camera to open QR code link. To edit notification comments on pull requests, go to your Netlify site configuration. pkg-pr-new bot commented Nov 22, 202...
Pinia 2.0 for Vue 2 Pinia 3.0 for Vue 3 Makes more sense to avoid these issues imo! michtio commented May 17, 2022 As an update tho if you specifically mention that you want to use Vue 3 in your dependencies, it all installs without issues: "dependencies": { "@headlessui/vue": ...
Reproduction https://github.com/josh-hemphill/pinia_bug-report Steps to reproduce the bug Use Typescript >5.0 Use Setup-style to create a store Use Hot module reload snippet if not present (acceptHMRUpdate function) Set VSCode to use wor...