stephenkr / nuxt-feature-toggle

The nuxt feature toggle module

Home Page:https://www.npmjs.com/package/nuxt-feature-toggle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhancement: Support runtimeConfig

superbiche opened this issue · comments

Hey there !

Now that Nuxt supports runtimeConfig it would be nice if this module was able to use it, so for the same build we could deploy different features on different environments.

If you also think it's a good idea I'd be happy to work on a PR for this.

And thanks for the module. Pretty simple but very useful 👍

Hi @superbiche yep this sounds great, feel free to open a pull request.

Also great to hear you're finding it useful :)

Hi @stephenkr
Actually I made the PR a few days ago but forgot to link it here.

#21

Let me know what you think. I'm using a forked version with these changes merged, in production, it works like a charm :)

Thank you @superbiche for the contribution, it looks great, I think we can close this issue.