Skip to content

NuxtJs: Runtime public config (or runtime private config) #33

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

Closed
popovicidinu opened this issue Jan 7, 2021 · 4 comments · Fixed by #42
Closed

NuxtJs: Runtime public config (or runtime private config) #33

popovicidinu opened this issue Jan 7, 2021 · 4 comments · Fixed by #42

Comments

@popovicidinu
Copy link

popovicidinu commented Jan 7, 2021

Hi.

I noticed this repo hasn't been updated in a while, and it could benefit from quite a lot of new features/enhancements. Are you planning to maintain this repo or what's the plan going forward?

One issue that I'm facing right now, is trying to inject variables at runtime config (rather than build), in a NuxtJS installation with ssr: false and target: server. (especially the pusher key, e.g. key: process.env.PUSHER_APP_KEY)

Either I'm not doing something right, or, from the looks of it, this is not supported.

Any hints would be really appreciated.

@ricardogobbosouza
Copy link
Member

Hi @popovicidinu
I'm updating now, sorry for the delay
See #42

@pisethx
Copy link

pisethx commented May 3, 2021

I tried it but does not work in production.

In $echo.options.host, its still use the built time host.

@samturrell
Copy link

@ricardogobbosouza i can't seem to find this change in the source anymore? Any idea what happened?

@i-galetsky-gs-by
Copy link

#75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants