-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[nuxt] Could not access pt. The only available runtime config keys on the client side are public and app #5895
Comments
Issue on PrimeVue Nuxt Module |
I have encountered the same problem. I did not have this problem before, but I encountered it after updating some dependencies. Specifically
So, does
|
Pt stands for pass through indeed. Primevue has a Pt config option in the nuxt config, but that's on the primevue object/module configuration, not on the root of the config declaration. It even occurs when you don't use Pt at all, anywhere. So not in the config or on a component. |
Hi everyone, I can't decide if this is a bug or something I should fix. With the new improvements in Nuxt, the To resolve this, I've temporarily replaced our https://nuxt.com/docs/guide/going-further/runtime-config#exposing
Exp;
|
Discussion in Nuxt; nuxt/nuxt#27645 |
Describe the bug
After a clean installation I get the following warning in the console. In bigger projects it can even result in an error instead of a warning.
[nuxt] Could not access 'pt'. The only available runtime config keys on the client side are 'public' and 'app'. See 'https://nuxt.com/docs/guide/going-further/runtime-config' for more information.
Reproducer
https://stackblitz.com/edit/github-ydzyjt
PrimeVue version
3.52.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Nuxt
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
No response
The text was updated successfully, but these errors were encountered: