PrimeVue Warning in console: "could not access `pt`...
I've recreated this here: https://stackblitz.com/edit/nuxt-starter-vxuc17?file=pages%2Findex.client.vue
If you comment out the Button component, the warning goes away. As soon as you use a component from PrimeVue the warning appears in the console.
I feel that this is causing some performance issues in the browser and I'm finding it tricky to develop my app locally :/
The message asks you to look at this page in the Nuxt docs: https://nuxt.com/docs/guide/going-further/runtime-config which doesn't really help.
Scripted Pixels Ltd
StackBlitz
Nuxt PrimeVue Err Demo - StackBlitz
A Vue.js project based on @geoman-io/leaflet-geoman-free, leaflet, leaflet-draw, primeicons, primevue, @nuxtjs/tailwindcss, @pinia/nuxt, @types/leaflet, nuxt, nuxt-primevue, vue and vue-router
Nuxt
Runtime Config · Nuxt Advanced
Nuxt provides a runtime config API to expose configuration and secrets within your application.
4 Replies
Hello, I have the same problem, did you find a solution?
GitHub
Fixed #5907 - [nuxt] Could not access pt. The only available runtim...
…config keys on the client side are public and app
This will be fixed in the upcoming .53 version
Yep, you need to update nuxt to the latest release