how to use pinia in vue? #299
malachijonesdev
started this conversation in
General
Replies: 1 comment
-
Hi, here is my solution for that: import { createPinia } from 'pinia'; const pinia = createPinia(); export const useStore = pinia.createStore({ import { createApp } from 'vue'; const app = createApp(App); Count: {{ count }} Increment |
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
-
I have a vue project and need to implement pinia, how to do it?
Beta Was this translation helpful? Give feedback.
All reactions