nuxt-modules / prismic

Easily connect your Nuxt.js application to your content hosted on Prismic
https://prismic.nuxtjs.org
MIT License
245 stars 48 forks source link

No runtime confuguration for the pugin #192

Closed sylr closed 1 year ago

sylr commented 1 year ago

Versions

Reproduction

We have a nuxt project which is running 3 instances (dev, test prod). We are building a docker container that we are running in a kubernetes cluster and we use ENV vars to configure nuxt at runtime based on the env.

Steps to reproduce

What is Expected?

We expect to be able to configure the nuxt-prismic plugin at runtime so what we can change the prismic endpoint using env vars.

What is actually happening?

nuxt-prismic is only configurable at build time.

lihbr commented 1 year ago

Should be fixed in rc.6, thanks!