Access privateRuntimeConfig or process.env from pinia store #936
Unanswered
aligzl
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
How can i access privateRuntimeConfig or process.env from nuxt during pinia defineStore?
i can access public runtimeConfig as plugin like below
and i use in pinia stores as this.config
Beta Was this translation helpful? Give feedback.
All reactions