Feature Flags / Disabling Pages #1497
Answered
by
brillout
chrisvander
asked this question in
Help & Questions
Replies: 1 comment 2 replies
-
How about using a guard() hook?
…On Fri 16. Feb 2024 at 15:22, Christian van der Loo < ***@***.***> wrote:
Hi,
I have a usecase where I need to disable certain features (and the
associated Vike pages) in production, while I may still want those features
on in development. Is there a way to disable a page completely based on an
environment variable?
Thanks!
—
Reply to this email directly, view it on GitHub
<#1497>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHVQRVHEVEAB7YJQRUGGDDYT5TRHAVCNFSM6AAAAABDMDY6AWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGIZDMNRSGQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
chrisvander
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a usecase where I need to disable certain features (and the associated Vike pages) in production, while I may still want those features on in development. Is there a way to disable a page completely based on an environment variable?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions