-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use pinia store ? #5
Comments
Why is this closed? this issue still exists. How to use store in src/acl/index.js ?? |
Pinia is supported. Read through the README, you can basically use Pinia or Vuex same way, replace the value of "user" option with the user object from your Pinia store. |
Pinia is supported, but do not work as described, there are race condition in createApp, and acl almost always lose it, causing error "pinia not defined". So if you need to use it, make next workaround: |
ACL running before pinia store.
The text was updated successfully, but these errors were encountered: