Closed LouisMazel closed 1 year ago
Set your nuxt.config.{js,ts} like this
nuxt.config.{js,ts}
export default defineNuxtConfig({ modules: ['@nuxtjs/prismic'], runtimeConfig: { public: { primisc: { endpoint: 'YOUR_ENDPOINT' } }, }, })
This is not working because the module only use the prismic config in the root property in nuxt.config.{js,ts}
prismic
No need to set the primsic config in root nuxt.config.{js,ts} with the property prismic when it's always set in runtimeConfig.public.prismic
runtimeConfig.public.prismic
I have to set the config in nuxt.config.{js,ts} in root property prismic and in runtimeConfig.public.prismic
To fix it, I opened this Pull Request #189
Fixed in #189, released in RC.5, thank you!
Versions
Steps to reproduce
Set your
nuxt.config.{js,ts}
like thisThis is not working because the module only use the
prismic
config in the root property innuxt.config.{js,ts}
What is Expected?
No need to set the primsic config in root
nuxt.config.{js,ts}
with the propertyprismic
when it's always set inruntimeConfig.public.prismic
What is actually happening?
I have to set the config in
nuxt.config.{js,ts}
in root propertyprismic
and inruntimeConfig.public.prismic
Pull Request
To fix it, I opened this Pull Request #189