#differences between SRR for yarn dev & yarn build
5 messages · Page 1 of 1 (latest)
oh right... now is problem with userStore.me(). docs says that useCookie and useRuntimeConfig only works during setup or Lifecycle Hooks. l hope its problem xD
Sorry @patent flame a question out of curiosity here:
How do you check a nuxt page with "ssr preview"?
Thanks!
for me its two ways:
extension for chrome: https://chrome.google.com/webstore/detail/server-side-render-ssr-vi/fcfmjbgedihbeknbkbcmpnnilkgligkg
or in devtools use ctrl + p and in command pallete write "> disable JavaScript" or "> enable Javascript"
As long as you use it inside defineNuxtPlugin useRuntimeConfig should work. Console log it and check if you tree shaking it correctly. 🙂